Commit graph

75 commits

Author SHA1 Message Date
moneromooo
a22ead7f32 Start ignoring !balance from blackbaba in public channels 2017-11-12 12:20:51 +00:00
moneromooo
3aafbb3de2 Fix the linking_accounts help mentioning the wrong prefix for freenode 2015-07-28 22:23:22 +01:00
moneromooo
1efc378ce2 Add events and event handlers, and IRC join/part events 2015-03-21 09:18:33 +00:00
moneromooo
e51b94b486 Remove redis migration code
All instances are now up to date, and this is starting to get
false positives with new networks.
2015-02-19 21:45:37 +00:00
moneromooo
571b70a865 Save redis on exit instead of shutting it down 2015-02-14 12:26:24 +00:00
moneromooo
db727c9329 Catch invalid network names in IdentityFromString/LinkAccounts 2015-02-07 10:01:13 +00:00
moneromooo
3e88744e3b Accounts can now be linked 2015-02-06 20:19:00 +00:00
moneromooo
6db77ea27c Add load and unload commands 2015-02-02 22:14:39 +00:00
moneromooo
d455985552 Use decimal functions to read amounts/units from string inputs 2015-02-02 13:11:52 +00:00
moneromooo
b07bb7ba6b Balances now belong to accounts, and identities map to an account 2015-02-01 11:36:05 +00:00
moneromooo
c03f518b96 Canonicalize nicks
For IRC, this mean case insensitivity
2015-01-30 18:13:52 +00:00
moneromooo
250528dff3 Actually call redis shutdown() on normal exit 2015-01-29 10:14:47 +00:00
moneromooo
1d3f650bba Starting networks is now via command line, and parameterized 2015-01-26 22:59:23 +00:00
moneromooo
50455a0d08 Keep track of funds awaiting confirmation 2015-01-26 18:01:21 +00:00
moneromooo
69582695f6 Save stats/zstats per network 2015-01-25 20:53:35 +00:00
moneromooo
90a6726158 Remove old OnIdle implementation that was left over by mistake 2015-01-25 13:16:40 +00:00
moneromooo
d5ab3b88f5 Split GetBalance to a core RetrieveBalance and the user command 2015-01-24 11:37:18 +00:00
moneromooo
689469f298 return from AddBalance on error 2015-01-20 19:28:46 +00:00
moneromooo
54531fdc3b Make sure to send help/etc in PM 2015-01-20 17:18:15 +00:00
moneromooo
48476969d3 Migrate dice db to new network-prefix user names 2015-01-19 08:54:07 +00:00
moneromooo
ea25e9d41b Abstract away communications networks 2015-01-19 08:45:56 +00:00
moneromooo
8007d6c7e3 addbalance now uses human friendly amounts 2015-01-18 11:52:01 +00:00
moneromooo
fb8a906645 Add a disable command for emergencies 2015-01-17 13:19:50 +00:00
moneromooo
fac37aa80b Do not print balance again for 0 2015-01-13 23:32:11 +00:00
moneromooo
89daf2008f Add balance in nominal units when less than one nominal unit 2015-01-11 18:53:00 +00:00
moneromooo
6823e0f926 Show a list of modules in help 2015-01-11 09:47:24 +00:00
moneromooo
8462467c40 Shutdown redis on normal exit 2015-01-10 13:53:42 +00:00
moneromooo
5a29cf9d34 Add some error checking for addbalance 2015-01-10 13:53:22 +00:00
moneromooo
a53b4b8b87 Bump copyright for 2015 2015-01-07 17:52:34 +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
cb9a2fccae Factor RetrieveTipbotBalance to utils and add RetrieveHouseBalance 2015-01-01 17:34:48 +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
a59e883626 Modules can now be reloaded 2015-01-01 10:06:09 +00:00
moneromooo
c79300f588 Mention !commands in !info 2014-12-31 11:42:27 +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
47dd9de0e1 Replace user facing mentions of tipbot with the bot name 2014-12-29 21:46:45 +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
moneromooo
7cfc14faf6 Make payment ID coin specific, for inter blockchain privacy 2014-12-28 12:49:51 +00:00
moneromooo
2212021091 Make the IRC welcome "trigger" line a setting 2014-12-28 11:45:17 +00:00
moneromooo
670b9c49f8 Add logs when connecting to IRC and Redis 2014-12-28 11:34:57 +00:00
moneromooo
f25f905fca Delay at all lines sent to IRC to try to not trigger the spam blackhole 2014-12-28 11:34:57 +00:00
moneromooo
7efb942a96 s/bitmonerod/daemon/ 2014-12-28 11:34:54 +00:00
moneromooo
2dda53240c Move coin specs to a separate module, and make a monero module 2014-12-28 11:34:02 +00:00
moneromooo
39b2e64516 Add copyright and repo url in info 2014-12-27 19:34:02 +00:00
moneromooo
a174ece136 Add rainactive command 2014-12-27 19:31:54 +00:00
moneromooo
dd98853861 Cleaner code for optional parameters 2014-12-26 17:18:29 +00:00
moneromooo
79f3a00415 Keep track of users last active time 2014-12-26 16:57:03 +00:00