Commit Graph

179 Commits

Author SHA1 Message Date
Ske
3382ca2862 Fix Discord throwing errors on members named "Clyde"
This adds a hair-space (\u200A) between the C and the l,
which won't trigger their check for the name. Discord
throws this error because their built-in "status bot"
used in the client is named Clyde.
2018-12-15 19:56:59 +01:00
Ske
103412222f Send member command help properly 2018-12-11 23:21:24 +01:00
Ske
63ccfc1215 *insert Dinner Party vasectomy quote here* 2018-12-11 21:02:30 +01:00
Ske
ea07e931fc Replace environment variable for TW instance ID with optional parameter 2018-12-11 20:52:43 +01:00
Ske
270b21e9fd Correct a few help tips 2018-12-11 20:04:26 +01:00
Ske
85bd945708 Pass TUPPERWARE_ID through in the Composefile 2018-12-11 19:48:22 +01:00
Ske
294ce30133 Add an environment variable for configuring the Tupperware instance to check for 2018-12-11 19:42:42 +01:00
Ske
bb6a4df8f3 Plug support server in root help again 2018-12-11 15:28:18 +01:00
Ske
8e527db05f Fix timeout handling in TW import 2018-12-11 00:08:51 +01:00
Ske
8ccee1d6fa Add API endpoint for logging new switches (+ refactor) 2018-12-10 22:00:34 +01:00
Ske
121f8ab8c3 Don't error if no log channel defined 2018-12-10 20:24:14 +01:00
Ske
53b23e1e9b In which I ruin everyone's day by fucking up import resolution 2018-12-10 20:22:19 +01:00
Ske
0aa370e549 Help page updates 2018-12-10 20:09:35 +01:00
Ske
be09c87f52 Add platform conditional for uvloop in requirements.txt 2018-12-10 19:41:43 +01:00
Ske
e289895423 Install uvloop in Dockerfile 2018-12-10 19:33:33 +01:00
Ske
504e350c45 Make uvloop an optional dependency 2018-12-10 19:32:31 +01:00
Ske
2c528500aa Reduce spacing in help pages 2018-12-09 21:45:34 +01:00
Ske
478f96770b A few help/error changes 2018-12-09 16:33:57 +01:00
Ske
72590ec92c Massive refactor/update/UX improvement dump. Closes #6. 2018-12-05 11:44:10 +01:00
Ske
f8e92375b0 More command layout changes 2018-12-03 09:40:52 +01:00
Ske
1375d96f24 Fix message lookup. Closes #32. 2018-11-30 22:01:33 +01:00
Ske
728c8ee8d0 Add member name conflict warning. Closes #10. 2018-11-30 21:51:57 +01:00
Ske
c36a054519 Add proxy permission errors, refactor proxy matching, change member name length error handling. Closes #25. 2018-11-30 21:42:01 +01:00
Ske
5d3cb7b6bf Add basic stats endpoint 2018-11-30 20:45:04 +01:00
Ske
4337430823 Check for an existing webhook made by the bot first.
Otherwise, it'd create a new one and in case of failures or database corruptions,
you'd hit the webhook limit quickly.

This was a feature pre-rewrite but got lost in translation.
2018-11-30 20:39:10 +01:00
Ske
10746ae807 System/member set command rework, should be more user friendly now 2018-11-23 21:55:47 +01:00
Ske
8e504fa879 Refactor error handling slightly and don't use embeds for basic status/error messages. Closes #28. 2018-11-15 21:05:13 +01:00
Ske
869f686bd5 Fix proxied messages with no system tag 2018-11-13 17:27:47 +01:00
Ske
3e5357d27f Whoops pt. 2 2018-11-13 14:01:24 +01:00
Ske
b4c45a7722 Whoops 2018-11-13 13:18:41 +01:00
Ske
6da7436aed Add commands for API token retrieval/refreshing 2018-11-13 12:34:19 +01:00
Ske
a72a7c3de9 Merge branch 'rewrite-port' 2018-11-08 16:43:09 +01:00
Ske
f4512fc7e9 Various bug fixes 2018-11-08 16:25:58 +01:00
Ske
3fca071c1d Count all-blank strings as empty for the purposes of proxy validation 2018-11-08 15:47:21 +01:00
Ske
5900c2aa23 Fix the backup scripts (cronjob didn't fire for a month...) 2018-11-07 21:16:34 +01:00
Ske
ce319408a6 Add playing message with help info 2018-10-30 20:25:06 +01:00
Ske
99657ae07d Fix Tupperware importing 2018-10-27 23:47:28 +02:00
Ske
899183f26d Fix special case where webhook is deleted by user 2018-10-27 23:34:50 +02:00
Ske
a4449ceaae Remove commented-out old code 2018-10-27 23:31:45 +02:00
Ske
58d8927380 Message and error logging, various bugfixes 2018-10-27 23:30:12 +02:00
Ske
ea62ede21b Basic command functionality 2018-10-27 22:12:10 +02:00
Ske
4217d5d5d8 Basic proxy functionality fixed 2018-10-27 22:00:41 +02:00
Ske
c8caeadec4 Change discord.py dependency to rewrite branch pinned at 860d6a9a 2018-10-27 21:03:35 +02:00
Ske
7636a48d14 Sanitize @everyone and @here in proxied messages 2018-10-23 01:14:33 +02:00
Ske
7174979fd1 Add a missing dependency 2018-10-20 21:09:14 +02:00
Ske
b4358a649c Allow commands by mentioning the bot. Closes #22 2018-10-11 12:58:08 +02:00
Ske
4a48e43d13 Add basic switch model and migrate fronter command 2018-10-11 12:54:40 +02:00
Ske
31322f3fea Add basic backup shell scripts 2018-10-11 11:54:04 +02:00
Ske
a866b7cb4c Remove Grafana configuration 2018-10-11 11:24:23 +02:00
Ske
2f728e09aa Remove unsupported Influx/Grafana analytics code 2018-10-11 11:23:20 +02:00