Commit graph

41 commits

Author SHA1 Message Date
moneromooo
b06520e1ea dice: fix typo in message 2015-01-20 18:00:02 +00:00
moneromooo
54531fdc3b Make sure to send help/etc in PM 2015-01-20 17:18:15 +00:00
moneromooo
d5d0801807 Fix another issue with IPv6 users - commands being ignored 2015-01-20 17:11:56 +00:00
moneromooo
92bf49a4c4 RainActive: aesthetic message fixes 2015-01-20 14:56:41 +00:00
moneromooo
1925f1e704 RainActive: fix format string error 2015-01-20 14:52:20 +00:00
moneromooo
75ebebc757 Move house_balance to betutils 2015-01-19 20:54:54 +00:00
moneromooo
7347480a86 dice: change the multiplier semantics to be hopefully more intuitive
x2 now means even odds - you pay your bet, and get a x2 payout back,
which leaves you with a profit equal to your original bet.

Minimum multiplier is bumped from 0.1 to 1.1 to reflect this change.
2015-01-19 19:39:43 +00:00
moneromooo
ea25e9d41b Abstract away communications networks 2015-01-19 08:45:56 +00:00
moneromooo
5ce0d1da50 Print meaningful time spans on rainactive 2015-01-18 22:18:46 +00:00
moneromooo
7a4506a9e6 dice: invert target too when playing over
I'm an idiot :/
2015-01-18 09:05:59 +00:00
moneromooo
41e00ad742 dice: clarify the amount is in monero 2015-01-17 15:53:46 +00:00
moneromooo
75bf15a321 dice: catch typos in recipients and ask for confirmation 2015-01-17 15:43:50 +00:00
moneromooo
9d6308b0b9 dice: allow over/under rolls 2015-01-17 09:02:37 +00:00
moneromooo
68ca830b05 Send dice game result to the channel if appropriate 2015-01-16 10:30:08 +00:00
moneromooo
a3de014d0a Dice game commands are now public 2015-01-16 09:40:11 +00:00
moneromooo
5b89cbdad3 Add dice module 2015-01-15 14:50:07 +00:00
moneromooo
4631dca7b6 Do not enumerate users when raining on more than 16 nicks 2015-01-11 18:45:59 +00:00
moneromooo
107e36cf32 import config in withdrawl module 2015-01-11 16:48:36 +00:00
moneromooo
a2d760dcdb Make mixin configurable 2015-01-11 16:28:20 +00:00
moneromooo
0dc90676c8 Move IsValidAddress to utils 2015-01-11 14:08:12 +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
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
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
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
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
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
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
4ac5dc07dc Remove some old code in rainactive 2014-12-31 15:06:40 +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
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
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