Commit Graph

1594 Commits

Author SHA1 Message Date
Ske
16fc976971 Extract help fragments to variables 2018-09-02 19:29:41 +02:00
Ske
2ae8fd5f34 Remove CommandError, return error embeds instead 2018-09-01 19:41:35 +02:00
Ske
99e2fad2b2 Make InfluxDB connection options configurable 2018-09-01 19:16:42 +02:00
Ske
a130e2215a Move stats stuff into its own class. Closes #1 2018-09-01 19:12:33 +02:00
Ske
cd0af5321c Ensure deletion confirmation is case-insensitive 2018-08-23 15:53:52 +02:00
Ske
780bc8a512 Read database connection parameters from environment 2018-08-22 19:50:32 +02:00
Ske
3d2d6b0ea6 Added front percent breakdown command 2018-08-02 11:10:09 +02:00
Ske
944f0093a9 Add basic HTTP API 2018-08-02 00:36:50 +02:00
Ske
e831ef5921 Fixed account linking when creating new systems on import 2018-07-31 01:50:11 +02:00
Ske
18dff93edd Fix Tupperware importing sometimes using the wrong bot and not registering messages 2018-07-30 21:06:59 +02:00
Ske
14f8eb9d66 Disable system checking for various commands 2018-07-27 07:29:10 +02:00
Ske
2806feb7dc Add suggestion to 'No system registered' message 2018-07-25 23:20:08 +02:00
Ske
0fbe957b9c Add exception handler logging more info to command wrapper 2018-07-25 23:10:58 +02:00
Ske
034f7816e4 Remember to await webhook stat submission 2018-07-25 23:07:38 +02:00
Ske
e5612a7b41 Fix errors when querying system fronters/history when you don't have a system yourself 2018-07-25 23:05:15 +02:00
Ske
a6708cb788 Set logging level to INFO 2018-07-25 11:56:37 +02:00
Ske
d81dadefa4 Remember to send webhook stats to Influx post-refactor 2018-07-24 22:55:41 +02:00
Ske
8936029dc8 Massive refactor of pretty much everything in the bot 2018-07-24 22:49:52 +02:00
Ske
086fa84b4b Fixed wrong field alias in query 2018-07-21 01:32:15 +02:00
Ske
136b08b597 Fix the command invocation graph 2018-07-21 01:29:25 +02:00
Ske
861dc78796 Add more cool panels to the Grafana dashboard 2018-07-21 01:22:51 +02:00
Ske
81560eaa2c Add admin access support to Grafana w/ provided user/pass 2018-07-21 01:22:22 +02:00
Ske
f50a08b50b Add occasional basic stat reporting to InfluxDB 2018-07-21 01:22:07 +02:00
Ske
ec5a023348 Fix my idiocy 2018-07-21 00:29:26 +02:00
Ske
26d89136b1 Add a command for backdating switches 2018-07-20 22:56:32 +02:00
Ske
acb11dd9d6 Fix delete suggestion 2018-07-20 13:33:21 +02:00
Ske
e77fa1caa6 Drop-in replace the event loop with uvloop 2018-07-18 15:26:15 +02:00
Ske
6b9ef9523e Make bot restart like the other containers 2018-07-17 22:09:20 +02:00
Ske
131ea6ef4e Use only year 0001 as null-year 2018-07-17 19:52:00 +02:00
Ske
a25e689180 Fix multi-page Tupperware importing 2018-07-16 22:14:12 +02:00
Ske
1f00c8bf3b Add prefix to usage message 2018-07-16 21:51:01 +02:00
Ske
c32f926f95 Add avatar to system set command usage 2018-07-16 21:50:35 +02:00
Ske
7a26314a7a Fix right axis on DB queries 2018-07-16 21:27:12 +02:00
Ske
20e910b27a Change Grafana port to something less common 2018-07-16 20:54:46 +02:00
Ske
0b8488606b Add InfluxDB/Grafana monitoring 2018-07-16 20:53:41 +02:00
Ske
9c0811afe8 Whoops 2018-07-16 13:37:06 +02:00
Ske
f9b156c4a2 Preview color when setting member color 2018-07-16 13:33:15 +02:00
Ske
66c456f2ec Allow posting blank messages if an attachment is included 2018-07-16 07:10:06 +02:00
Ske
d2ef05c7d4 Fix attachment proxying 2018-07-16 07:05:10 +02:00
Ske
7b95798c8f Fix message lookup pt. 2 2018-07-16 06:59:39 +02:00
Ske
3670e41834 Fixed message lookup responding in the wrong channel 2018-07-16 06:57:11 +02:00
Ske
8203162e6b Change logging format 2018-07-16 01:11:51 +02:00
Ske
e22667ce90 Make the bot silently continue if logging fails 2018-07-16 01:06:29 +02:00
Ske
4bdc14e161 Reduce logging level 2018-07-16 01:04:40 +02:00
Ske
00fdcf32c2 Fix proxying with < prefix catching on emojis and channels 2018-07-16 00:59:08 +02:00
Ske
77402e0d58 Remove legacy switch clearing on member delete 2018-07-16 00:42:09 +02:00
Ske
5b539f558e Use id as key for hid 2018-07-15 23:16:17 +02:00
Ske
9350f4cc18 Don't proxy in DMs 2018-07-15 21:11:41 +02:00
Ske
ad9b3d2166 Add data export command 2018-07-15 21:09:55 +02:00
Ske
c9d222b94d Change text for switch-outs 2018-07-15 17:55:31 +02:00