Commit graph

1071 commits

Author SHA1 Message Date
c1ecc83953 Add logging to admin commands, more documentation, fix negative purge (thanks @GiggleButts) 2021-06-30 20:25:18 -06:00
aad00865de Add defer on purge for long purges 2021-06-30 19:48:24 -06:00
474089e10b Fix database call when doing purge 2021-06-30 19:47:37 -06:00
a44f52a1f3 Fix purge ctx references 2021-06-30 19:46:58 -06:00
30f21c6b85 Add message purging (slash-only for now), closes #16 2021-06-30 19:41:39 -06:00
65b671faa2 Add ctc2 commands, closes #4 2021-06-30 19:04:43 -06:00
244d98979f Add schema.yaml 2021-06-30 18:14:07 -06:00
f77b763566 Change load order in admin commands 2021-06-30 18:05:39 -06:00
919dfcb4a0 Update the right database when removing admins 2021-06-30 18:02:57 -06:00
4bb9a74af1 Un-cache admins in checker predicate 2021-06-30 18:00:51 -06:00
1a4cba437f Revamp admin remove command to auto-reload config 2021-06-30 17:59:18 -06:00
e357d6e4ce Add admin controls 2021-06-30 17:50:31 -06:00
f61a8fceba v0.4.0, implements hybrid slash commands (mostly...), simplifies dev cog, closes #2 2021-06-30 17:30:35 -06:00
17f2d32f60 Prevent escaping 2021-06-30 13:48:27 -06:00
ae3dc2db75 Lowercase destination to avoid duplicate cache results 2021-06-30 13:22:01 -06:00
7781832fbd I suck at dicts sometimes 2021-06-30 13:11:52 -06:00
63e4ba2192 Actually fix cache 2021-06-30 13:11:04 -06:00
818ad7766e Fix cache 2021-06-30 13:09:05 -06:00
c8ee10b24c Error handling, API caching (thanks @GlitterButts) 2021-06-30 13:07:23 -06:00
81b1b705f6 Version bump to 0.3.0, warranted by many commits 2021-06-30 11:54:00 -06:00
3df785d16b Add repo hash to status 2021-06-30 11:53:38 -06:00
b1096a6f92 Add system refresh command 2021-06-29 20:51:03 -06:00
e500004148 Even better error printing 2021-06-29 20:42:13 -06:00
e49c3c1a22 Better error printing 2021-06-29 20:33:01 -06:00
6caee5c619 Fix check for eval 2021-06-29 20:28:36 -06:00
11e6021817 Predicate command check for devs 2021-06-29 20:27:18 -06:00
7201d6c8c8 Add temporary error send in dev cog 2021-06-29 20:21:32 -06:00
d64a82611d Actually fix load error 2021-06-29 20:12:31 -06:00
3d51f4e124 Fix load error 2021-06-29 20:11:54 -06:00
7f297185c0 More admin functions, implement bot admins 2021-06-29 20:09:27 -06:00
e797671ad8 Even smarter body chunking 2021-06-29 17:33:19 -06:00
51b8809f21 Smarter body chunking 2021-06-29 17:27:58 -06:00
54fcd42247 Replace empty string with zero-width space 2021-06-29 17:18:01 -06:00
e42b7dfffd Chunk joke body just in case 2021-06-29 17:17:05 -06:00
7284738162 Chunk joke body just in case 2021-06-29 17:16:16 -06:00
af544974c6 Singleton usage, migrate to more mongodb storage 2021-06-29 17:07:50 -06:00
7e489c5646 Fix status 2021-06-29 11:39:04 -06:00
d2251ba48a Fix regression in image processing 2021-06-29 07:18:20 -06:00
abf70fe6a0 Prepare code before execution 2021-06-27 19:52:28 -06:00
7bf6958897 Add ctx to globals 2021-06-27 19:45:15 -06:00
bbd29a6f11 Add ctx to globals 2021-06-27 19:44:35 -06:00
a4eec8c138 Pass globals and locals to eval 2021-06-27 19:43:45 -06:00
71ab73b861 Fix time error 2021-06-27 19:40:54 -06:00
2fbc720ccc Modify eval to use traceback 2021-06-27 19:40:17 -06:00
b164694c43 Copy cog from https://gist.github.com/vierofernando/c5796a78292b949341c98a5deaee8eda 2021-06-27 19:37:22 -06:00
0589a8902c Wrap eval in async def 2021-06-27 19:34:27 -06:00
8fb9722d53 Add await to eval 2021-06-27 19:32:25 -06:00
9afab6ae4b Add await to eval 2021-06-27 19:29:13 -06:00
c74581d380 Third time's the charm 2021-06-27 19:26:32 -06:00
43d2eee27a Actual traceback 2021-06-27 19:23:53 -06:00