Commit Graph

247 Commits

Author SHA1 Message Date
moneromooo 0dc90676c8 Move IsValidAddress to utils 2015-01-11 14:08:12 +00:00
moneromooo 6823e0f926 Show a list of modules in help 2015-01-11 09:47:24 +00:00
moneromooo 5a6c3bd379 Fix Paymend/Payment typo 2015-01-10 20:35:10 +00:00
moneromooo 114c67799d withdraw: fix error being sent to wrong variable 2015-01-10 20:34:31 +00:00
moneromooo 09b1ee2f07 Fix rainactive synopsis, and error on usage when missing amount/hours 2015-01-10 14:03:07 +00:00
moneromooo 75d9c4de8e Don't try to update last active time on direct chats to the bot 2015-01-10 00:07:55 +00:00
moneromooo e24389d5b4 Add a compatibility check test at startup 2015-01-09 23:15:31 +00:00
moneromooo 3c363ea084 Handle IPv6 addresses in message origin 2015-01-09 22:33:45 +00:00
moneromooo 13f68a1760 Move IRC logging functions to ircutils 2015-01-09 21:46:42 +00:00
moneromooo 9755e7a825 Add simple SASL PLAIN authentication 2015-01-09 17:53:41 +00:00
moneromooo 1c549df3d9 Add redis_incrby 2015-01-09 14:43:01 +00:00
moneromooo 8b72544edb Make deposit not an admin command 2015-01-08 15:20:33 +00:00
moneromooo 209eb76b27 Add a deposit command to the payment module
It makes it easier to find out how to deposit, since the payment
had no commands, and thus was not included in the modules list
when !commands was used
2015-01-08 15:09:10 +00:00
moneromooo 0ddf3c5595 Reword some help for clarity 2015-01-08 15:08:07 +00:00
moneromooo f81a7a8b20 Add a missing error log 2015-01-08 09:02:21 +00:00
moneromooo fe3571e603 Update copyright to 2015 2015-01-08 09:02:05 +00:00
moneromooo 819dd6ec67 Keep track of amount of tips 2015-01-08 09:02:05 +00:00
moneromooo 9be5047823 Fix registered/admin checks not reporting errors to the user 2015-01-06 20:54:19 +00:00
moneromooo 65581f980f Fix IRC reconnection failsafe using a wrong nick 2015-01-06 20:53:46 +00:00
moneromooo 78b5bc4162 Decrease max IRC send delay to a lowish value that seems to work 2015-01-03 22:07:10 +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 d7f3ee7f3f Avoid splitting PRIVMSG payload on : 2015-01-03 18:34:08 +00:00
moneromooo e1cd8042c1 Warn when a command is redefined 2015-01-01 17:43:01 +00:00
moneromooo cb9a2fccae Factor RetrieveTipbotBalance to utils and add RetrieveHouseBalance 2015-01-01 17:34:48 +00:00
moneromooo f24dbd3813 Remove AmountToString debug log 2015-01-01 15:21:48 +00:00
moneromooo 4c76c9f616 Fix rainactive minfrac formula 2015-01-01 15:18:42 +00:00
moneromooo 44d6f01378 Move module specific help to modules 2015-01-01 14:23:34 +00:00
moneromooo ce3c69b339 Some more tweaking of the flood protection code 2015-01-01 12:45:59 +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 852e75dc16 Add a quit command 2015-01-01 11:41:04 +00:00
moneromooo 8d115438a3 Add an IRC module with join/part commands 2015-01-01 11:14:29 +00:00
moneromooo 27117ae53e The bot can now be in several channels at once 2015-01-01 10:59:56 +00:00
moneromooo e4b403cc31 Use __name__ as module name 2015-01-01 10:12:03 +00:00
moneromooo a59e883626 Modules can now be reloaded 2015-01-01 10:06:09 +00:00
moneromooo 800e1d754c Update channel users when a nick is kicked 2014-12-31 17:51:05 +00:00
moneromooo e5d9a20b76 Add SSL support for IRC 2014-12-31 17:18:50 +00:00
moneromooo 4ac5dc07dc Remove some old code in rainactive 2014-12-31 15:06:40 +00:00
moneromooo 9d4895c8d4 Warn when we get flood protection notices 2014-12-31 11:56:37 +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 a10b98eeba Better flood protection 2014-12-31 10:06:26 +00:00
moneromooo 997173f1c6 Move some config from the IRC module to the config module 2014-12-31 09:59:17 +00:00
moneromooo 92bd13fdcd Add hexists to redisdb 2014-12-30 22:48:44 +00:00
moneromooo 34d73d6460 Make modules freestanding
Remove __init__.py from tipbot/modules, allowing loading them
without having to declare them first
2014-12-30 13:12:13 +00:00
moneromooo 449ef1e594 Log the issuer when a command is found 2014-12-30 13:05:40 +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