Commit Graph

24 Commits

Author SHA1 Message Date
gammafn e592d8ead9 Add percentages to user count
Closes #76
2021-04-30 11:35:32 -05:00
gammafn afacb02d7e BotModule: remove can_be_disabled flag, use exception instead 2021-04-28 15:46:38 -05:00
gammafn 40b810bec8 !bot stats rewrite
- Only count users once
- Report total homeserver count
- Nicer format of top ten
2021-04-28 13:26:41 -05:00
gammafn c4d075a97f !bot status rewrite:
- Use time.time() for timestamps to prevent DST from breaking uptime
  calculations
- Remove decimal part of uptime
- Use time.ctime() format for date
- Get list of bot modules
2021-04-28 13:10:51 -05:00
gammafn 4ce81ec8f3 Add !bot ping 2021-04-27 08:47:20 -05:00
gammafn 86b1144b8c Add long helps for some commands 2021-04-24 12:38:28 -05:00
gammafn 9d852b6735 Add !bot import|export 2021-04-21 21:40:59 -05:00
Dylan Hackworth 6640fdeb70
Revisioned Module Listing
It's a little spammy
2021-01-23 14:16:21 -06:00
Ville Ranki cfe303d654 Fixes 2020-11-24 23:02:47 +02:00
Frank Becker b40be62cb1 use logging for console output 2020-02-16 16:56:34 +01:00
Ville Ranki e841108066 Ignore unknown commands 2020-02-16 14:23:20 +02:00
Frank Becker 730ee7ca35 shorter modules list 2020-02-10 00:04:34 +01:00
Frank Becker a246af645a ordered output of modules 2020-02-09 14:24:57 +01:00
Frank Becker 81d07cebfd enable all modules per default. bot cannot be disabled. 2020-02-09 14:07:05 +01:00
Frank Becker 2f9d7a708e add stop and start message to BotModule class. add remove_callback 2020-02-06 23:21:59 +01:00
Frank Becker b1f428517e enable / disable bot module
use !bot enable <module_name> oder !bot disable <module_name> to enabel
or disable a module.

to get a list of available modules and see if they are enabled run !bot
modules
2020-02-06 23:21:59 +01:00
Frank Becker 299548b41f minor cleanup and a fix for the type mapping of matrix_message parameters 2020-02-06 21:59:29 +01:00
Frank Becker 93f8c65d0c extract BotModule class 2020-02-06 21:58:40 +01:00
Ville Ranki 1e97742e13 Various fixes, added bot leave command, handle left rooms in polling modules. 2020-01-26 19:20:03 +02:00
Ville Ranki 81af6599cd Rename room variable due to name collision 2020-01-21 00:17:15 +02:00
Ville Ranki 80c1bc3f95 Fixed slow polling service issue, some minor tuning. Fixes #16. 2020-01-20 23:54:10 +02:00
Ville Ranki a37938fbff Added twitter, refactored polling services to own class. Fixed \!bot reload losing settings. 2020-01-10 21:59:59 +02:00
Ville Ranki 69ae607c2a Deleted uptime (moved functionality to bot), added stats and reload commands to bot module. 2020-01-06 00:33:42 +02:00
Ville Ranki 6cf40488d4 Added initial bot module for bot mgmt commands. 2020-01-05 00:28:57 +02:00