Commit Graph

141 Commits

Author SHA1 Message Date
topkecleon
26c1299374 Rewrote help.lua and added markup support to several plugins.
help.lua has been rewritten to support "/help command".
New variable "command" has been added to plugins for the syntax (w/out slash) to be displayed in main
help message. "doc" will be displayed upon "/help command".

Output of >12 plugins has been reformated to utilize markup.
There is a fairly standard style throughout plugins.

get_word() in utilities.lua now has defaults for nil arguments.
2016-01-08 08:44:37 -05:00
topkecleon
9070a44c8f Improved triggers for many plugins.
Redone README to match the website.
Bot now supports deep linking / start payloads.
lastfm.lua now notifies a user when his default username is saved.
antisquig is now part of moderation.lua.
2016-01-07 22:30:12 -05:00
topkecleon
88a506492b some improvements 2015-12-14 14:48:17 -05:00
topkecleon
c827004bc7 fixed default config
rewrote get_word()
2015-12-13 16:31:22 -05:00
topkecleon
a0bbdba135 split admin.lua into multiple plugins to make way for the future
added shout.lua
2015-12-13 09:25:49 -05:00
topkecleon
c8a90c5c7f added attribution for antisquig 2015-12-10 11:34:20 -05:00
topkecleon
f89c3fae5e Added Google API/CSE key vars to config, minor changes to gImages.lua 2015-12-05 10:03:43 -05:00
Drew
6cc821f7c7 Merge pull request #15 from TiagoDanin/patch-4
Fix Google Search Images
2015-12-05 09:31:45 -05:00
topkecleon
80f363de44 markdown support in messages
other changes & improvements
2015-12-05 09:30:52 -05:00
Tiago Danin
bda76a729d Fix Google Search Images 2015-12-05 11:23:32 -03:00
topkecleon
c5c3660de4 updated readme, changed some things 2015-12-04 09:56:48 -05:00
topkecleon
4bd0a72b5a For photo messages, bot will look for commands in the caption if available.
Fixed bug in chatter.lua where the bot will attempt to reply to photo messages.
2015-11-29 06:41:53 -05:00
topkecleon
faa86ab8fd Added Hearthstone plugin. 2015-11-29 04:45:00 -05:00
topkecleon
33adc43876 Disabled reply chatter by default. 2015-11-26 22:25:03 -05:00
topkecleon
326b8b887c chatter.lua now responds to @username as well. 2015-11-26 18:55:57 -05:00
topkecleon
4f191ac57a /modkick and /modban can now be used with reasons without failing to
kick.
2015-11-26 18:40:01 -05:00
topkecleon
61b9140eca Fixed bugs in wikipedia.lua, improved chatter.lua. 2015-11-26 05:34:16 -05:00
topkecleon
9cbe4dd3c8 Small fix in default config. 2015-11-25 11:13:19 -05:00
topkecleon
d29f732d23 updated readme 2015-11-24 21:31:44 -05:00
topkecleon
a5b6f4d864 updated README 2015-11-24 21:28:09 -05:00
topkecleon
cacfea1fa5 otouto v3 is out!
Everything reworked and rewritten.
Antisquig is now a plugin to work with moderation.lua.
The bot can now upload photos, stickers, and other files.
Return values in plugin functions to affect the bot's behavior.
All this and more!
2015-11-24 21:22:04 -05:00
Drew
3bd9d5302e Merge pull request #12 from TiagoDanin/patch-3
Fix bug - Plugin chatter.lua
Fixed this locally a while ago, forgot to push it.
2015-11-23 07:47:35 -05:00
Tiago Danin
951f5b0cd0 Fix bug
- Change in location of response: (res.msg)
2015-11-21 10:14:56 -03:00
Drew
b7aadc5247 Merge pull request #11 from TiagoDanin/patch-2
Organization of command list of plugins
2015-11-15 08:56:25 -05:00
Tiago Danin
6d7fb3eece Organization of command list of plugins
Organization of command list of plugins:
- Added new plugins on list
- Listed a-z ~ 1-0
:D
2015-11-15 11:41:09 -02:00
Drew
ace4074a66 Merge pull request #9 from TiagoDanin/patch-2
Updated readme with more plugins listed.
Thanks to @TiagoDanin.
2015-10-12 18:49:48 -04:00
Tiago Danin
fa6f9f1d62 Add new plugin in the list 2015-10-12 19:41:43 -03:00
topkecleon
9a7f166fd4 removed spaghetti code
updated version number
2015-09-24 19:44:43 -04:00
topkecleon
a4b0a7ebed added youtube (@TiagoDanin)
improved cron
2015-09-23 14:48:54 -04:00
Drew
2f027eb746 Merge pull request #8 from TiagoDanin/patch-1
Adding youtube plugin
2015-09-23 14:43:39 -04:00
Tiago Danin
e9c025c104 Adding youtube plugin
Search plugin on youtube
2015-09-23 15:12:06 -03:00
topkecleon
75179e41c2 removed debugging code 2015-09-23 09:11:30 -04:00
topkecleon
c7ba76e72b added spotify plugin (thanks to @TiagoDanin)
fixed kickass plugin (required HTTPS)
included console.lua (for those who may use it)
included link to otouto update channel in about.lua
2015-09-22 22:27:36 -04:00
topkecleon
ab16426898 Merge branch 'master' of http://github.com/topkecleon/otouto 2015-09-21 19:36:15 -04:00
topkecleon
4c6be5b899 minor changes 2015-09-21 19:34:02 -04:00
Drew
6767c20256 Merge pull request #7 from LibreLabUCM/fixed_imdb
Fixed imdb API link.
2015-09-21 19:32:39 -04:00
Abel 'Akronix' Serrano Juste
e448e52fdb Fixed imdb API link. 2015-09-22 01:16:35 +02:00
topkecleon
cf8dc26d42 doubly updated readme 2015-09-07 14:58:33 -04:00
topkecleon
483d8be255 updated readme 2015-09-07 14:57:53 -04:00
topkecleon
2d2933c8e5 add hearthstone plugin
in case of flood control, bot will now answer in PM if possible
2015-09-07 11:19:36 -04:00
topkecleon
da0785f246 updated readme to clarify
otouto is *not* a port of yagop's telegram-bot
2015-09-04 16:00:23 -04:00
topkecleon
55700aeacd bugfix 2015-08-28 23:34:00 -07:00
topkecleon
60570e90f3 added cron jobs for plugins
added example plugin with documentation
added liberbot-compliant flood control
	see Liberbot Support for details on getting compliant
added Kickass Torrent plugin
various bugfixes
all files seem to have been marked changed due to a shift in platform
	I will do a clean clone and testing to ensure there is no issue.
2015-08-28 23:15:01 -07:00
topkecleon
2e01ceec71 added cats!
minor fixes to a bunch of stuff
2015-08-23 02:46:34 -04:00
topkecleon
2e31f2f604 Users can now display a list of reactions.lua options using /reactions, a help message
dynamically generated at plugin load and streamlined into the reactions system.

Added doc for /reactions.
2015-08-23 02:19:45 -04:00
topkecleon
5c2591152e Users can now display a list of reactions.lua options using /reactions, a help message dynamically
generated at plugin load and streamlined into the reactions system.
2015-08-23 02:10:37 -04:00
topkecleon
fe95fef505 version number update 2015-08-18 06:00:49 -04:00
topkecleon
4c72543315 no typing by default
various bugfixes
blacklisting support (blacklist.lua)
	json file created automatically
	users are blacklisted and unblacklisted via reply with /blacklist
nicknames support (nick.lua)
	json file created automatically
	users set nick by /nick
	"people" section of config deprecated
moderation.lua improvements
	administrators can now run mod commands
	administrators are now listed with moderators
	modlist improved to be smarter and look better
	administrators can no longer be promoted to moderator
	/hammer command for admins to perform realm-wide ban
2015-08-18 05:55:25 -04:00
topkecleon
fc4908f033 fixed potential exploit in translate.lua 2015-08-10 04:33:14 -04:00
topkecleon
66d50ce6f5 moderation.lua bugfix 2015-08-09 14:21:33 -04:00