Code Monkey home page Code Monkey logo

mattata's People

Contributors

wrxck avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

mattata's Issues

Add username to remind plugin

Would be cool if the bot reminds with username so the user who set the reminder get poked.
In groups very usefull ๐Ÿ‘

Die Dice

/dice <number> <range> Rolls a die...

Just a typo i noticed in the readme lol

Probable security misconfiguration

Hello, I have been using the bot and i have found a bug which leads to file disclosure and maybe system takeover ( i didnt test it though) .. i would be glad to report it if u can tell me how and where

./launch.sh: 7: ./launch.sh: lua5.3: not found

Upon launch of ./launch.sh I get this

./launch.sh: 7: ./launch.sh: lua5.3: not found

I installed the bot with the ubuntu command (with sudo)
in the config file I only entered the bot token and changed the file name to configuration.lua

Translation completed

I finished the translation.But I can not give a message because the telegram blocked me.Please contact me on the telegram
t.me/By_Azade
@By_Azade (telegram)

[bug] invalid link

link in project description is no longer valid
matthewhesketh.com/mattata/telegram

Cloud9 installation error

E: Unable to locate package lua5.3
E: Couldn't find any package by regex 'lua5.3'
E: Unable to locate package liblua5.3-dev
E: Couldn't find any package by regex 'liblua5.3-dev'
Successfully installed redis-dump-0.3.5
1 gem installed
fatal: destination path 'luarocks' already exists and is not an empty directory.
$PATH interpreter not found in
You may want to use the flags --with-lua, --with-lua-bin and/or --lua-suffix. See --help.

configure failed.

Makefile:2: config.unix: No such file or directory
make: *** No rule to make target config.unix'. Stop. Makefile:2: config.unix: No such file or directory make: *** No rule to make target config.unix'. Stop.
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
sudo: luarocks-5.3: command not found
Finished. Use './launch' to start mattata. Be sure to set your bot token in configuration.example.lua, and then rename it to configuration.lua!

Prime number are not prime

So, prime numbers are not prime?
Well, prime plugin don't work at all.
I've tested all the prime numbers < 101 and the result was that only 1, 2 and 3 are prime, and 1 is not a prime number

/isup protocol detection is faulty

Examples:

Input Expected Actual
http.com http://http.com http.com
https.com http://https.com https://https.com
httpmoo://example.com/ (error) httpmoo://example.com/

Update plugin documentation in README

The information for plugins in the README is very outdated, some plugins no longer exist and newer ones aren't yet listed in the plugin table. Keep formatting nice and unified like how it currently is laid out.

admin respond only

Hello guys,

is it possible to config the bot to answer only admins? So far everyone is allowed to speak to my bot and disable plugins.
Thanks :)

Installation ubuntu

Hi

Just try to installing in ubuntu from installation directory but found this one :

[Info] Installing openssl...
sudo: luarocks-5.3: command not found

and after that, cant start the bot

thanks

More options for the anti-spam function.

I really would like to use the anti-spam function in our chat but i dont want to kick or ban someone right away.
So it would be cool, to have an option to maybe just mute the spamming user or just stop him from posting some more, by deleting his messages.

For example: If i set an limit to 3 stickers and user A trys to post 4 stickers in a row, he can only post 3 since everything after that, gets removed by the bot.

Add LastFM

Hi, can you add a LastFM plugin and make it post like that:

image

Would be awesome ๐Ÿ˜Ž

Document inline commands

Inline commands need documenting in the README, keep formatting nice and unified like how it currently is laid out.

deleting user messages

hi
i want to ask a question, can this bot delete user messages without using a support user account?
thnx for your help

[Bug] install.sh and launch.sh doesn't work

Hello, I tried to deploy the bot onto my Linux Ubuntu 18.04 LTS server and tried to execute install.sh and launch.sh. Both are getting executed, but both give me some kind of syntax error. Are there any dependencies I need to keep in mind before running those or are they bugged. I couldn't figure out, why I wasn't able to run them. (I did chmod, otherwise they wouldn't be executable as far as they give back the syntax error)

Following message for install.sh:
: not found 4: install.sh: read install.sh: 5: set: Illegal option -
Following message for launch.sh:
launch.sh: 12: launch.sh: Syntax error: end of file unexpected (expecting "do")
Following message for backup.sh:
backup.sh: 1: backup.sh: redis-cli: not found backup.sh: 16: backup.sh: Syntax error: end of file unexpected (expecting "then")
Following message for transcribe.sh:
transcribe.sh: 13: transcribe.sh: Syntax error: end of file unexpected (expecting "do")

Lua is installed:
# lua5.3 Lua 5.3.3 Copyright (C) 1994-2016 Lua.org, PUC-Rio

Thank you for your response in advance!

/time not working

mattata:
[2016-10-04 08:56:02]
mattatabot: ./socket/http.lua:240: attempt to index local 'reqt' (a nil value)
38144652: /time

/isup is insecure

  • Allows sending arbitrary requests as server
  • Reveals server's IP address
  • Can connect to LAN IP addresses/hosts (e.g., localhost)
  • Can set port
  • Can set path/querystring
  • Can set username/password

Update plugin table in README [#2?]

Add a new column with names of plugins, add new rows for plugins with no commands but use - for commands/description cell, since those aren't applicable for plugins of this kind.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.