Commit graph

21 commits

Author SHA1 Message Date
moneromooo
c51f0ea00b command_manager: never tweak one last thing after testing 2017-11-07 23:53:33 +00:00
moneromooo
64749a9afa command_manager: time out on auth
If we miss a nickserv reply, delete the scheduled command
2017-11-06 23:27:52 +00:00
moneromooo
94c31f263f User error when asking for commands for a module that does not exist 2015-04-25 10:31:12 +01:00
moneromooo
1efc378ce2 Add events and event handlers, and IRC join/part events 2015-03-21 09:18:33 +00:00
moneromooo
8ff236176d Lock commands execution
So they can be used by separate threads
2015-02-05 19:34:04 +00:00
moneromooo
1a6476d2f0 Make idle and cleanup functions fields of the module object 2015-01-22 19:30:28 +00:00
moneromooo
1726d85d5c Add a list of invalid commands to ignore
To avoid the botspam when someone's using another bot
2015-01-21 13:50:31 +00:00
moneromooo
ea25e9d41b Abstract away communications networks 2015-01-19 08:45:56 +00:00
moneromooo
762c7650a7 Send the "you must be registered/admin" to the channel if appropriate
It seems many people miss the /msg
2015-01-12 17:12:46 +00:00
moneromooo
6823e0f926 Show a list of modules in help 2015-01-11 09:47:24 +00:00
moneromooo
0ddf3c5595 Reword some help for clarity 2015-01-08 15:08:07 +00:00
moneromooo
9be5047823 Fix registered/admin checks not reporting errors to the user 2015-01-06 20:54:19 +00:00
moneromooo
e1c881860f Module improvements
Register modules, along with their optional help function
Allow running ambiguous commands by prefixing with "modulename:"
2015-01-03 18:36:37 +00:00
moneromooo
e1cd8042c1 Warn when a command is redefined 2015-01-01 17:43:01 +00:00
moneromooo
44d6f01378 Move module specific help to modules 2015-01-01 14:23:34 +00:00
moneromooo
abb67ef06f Make clear one can use !commands <module> 2015-01-01 12:16:44 +00:00
moneromooo
83d64251af Move irc to ircutils to not conflict with new irc module 2015-01-01 11:42:06 +00:00
moneromooo
a59e883626 Modules can now be reloaded 2015-01-01 10:06:09 +00:00
moneromooo
2c8ff697bd Rejig !commands to be less spammy
Commands are now organized per module, and full command sysnopsis
is only given for a module at a time
2014-12-31 10:32:50 +00:00
moneromooo
85a7348571 Fixup some import issues 2014-12-31 10:30:07 +00:00
moneromooo
6b6a1a67e7 Structural overhaul
Split the tipbot in modules:
- main modules to contain base functions by theme
- coin specs, to define a coin's specifics
- optional modules, defining commands/behaviors
2014-12-29 17:39:17 +00:00