Commit Graph

167 Commits

Author SHA1 Message Date
Jeremy Zhang
5c446935bc Subscribe to redisqueue after the bot is ready 2019-10-19 13:38:45 -07:00
Jeremy Zhang
d9b8af9a4c Message type can be already in int fix 2019-10-17 00:50:34 -07:00
Jeremy Zhang
b0c9e6c5ec Overwrites is no longer a tuple but a dict 2019-10-08 00:18:11 -07:00
Jeremy Zhang
2e954aaffb Fix emoji url still asset form 2019-10-07 22:52:11 -07:00
Jeremy Zhang
93e85e3352 Fix procreating fake msg error 2019-10-07 22:50:52 -07:00
Jeremy Zhang
26b0a8d893 get_message to fetch_message 2019-10-07 22:37:49 -07:00
Jeremy Zhang
9cd7602ffb Stringify asset d.py objects 2019-10-07 22:34:39 -07:00
Jeremy Zhang
4a3d24c5d6 Sleep after every subscribe 2019-03-06 03:11:26 +00:00
Jeremy Zhang
6efc5a4b67 Remove c9 file 2019-03-05 21:02:46 +00:00
Jeremy Zhang
c62661ec6c Sleep a bit more if bot isnt responding 2019-03-05 21:02:33 +00:00
Jeremy Zhang
29c1d8bfda Use discord game status immediately after logging in 2019-03-05 19:49:08 +00:00
Jeremy Zhang
ce205daa0e Try a new create task and lower max_messages by half 2019-03-05 19:38:40 +00:00
Jeremy Zhang
346a68c780 Dont read messages if the channel has no permissions 2019-01-19 20:07:57 +00:00
Jeremy Zhang
790dca1766 Unban command 2019-01-10 02:07:12 +00:00
Jeremy Zhang
3159b9c0f5 Dont handle redisqueue if bot decides to offline 2019-01-09 19:04:55 +00:00
Jeremy Zhang
ef9a97a03a Handle webhooks update manually in socket response in hopes that Titan would update it more often 2019-01-08 17:49:17 +00:00
Jeremy Zhang
57d0a74621 Relinquish resources to the bot every 10 publishes in redisqueue 2019-01-06 00:08:12 +00:00
Jeremy Zhang
e566276fc4 Bugfix if guild not initialized yet and no reactions 2019-01-05 20:54:50 +00:00
Jeremy Zhang
6392e4d9bf Actually bail if length of emojis is 0 2018-12-30 21:00:41 +00:00
Jeremy Zhang
0f60152e63 Remove sentry for now 2018-12-30 20:55:24 +00:00
Jeremy Zhang
4f27dedd6f Fix emoji tuples out of range and no permission to read message issues 2018-12-30 20:23:07 +00:00
circl
c25b6c1409 Add help command to prevent confusion. (#124)
* Add help command to prvent confusion.

* Fix spacing
2018-12-01 16:13:37 -08:00
Jeremy Zhang
f0a295e3eb Pass if there are no attribute 2018-10-28 01:07:41 +00:00
Jeremy Zhang
0cb1f0646e Disallow none target 2018-10-09 21:13:19 +00:00
Jeremy Zhang
228ba7bbad Use official d.py rewrite 2018-09-15 23:34:47 +00:00
Jeremy Zhang
3e27b156a8 Implement join messages 2018-08-19 02:55:31 +00:00
Jeremy Zhang
2e5c6adecb Show members even if rich embeds is disabled 2018-08-15 22:51:30 +00:00
Jeremy Zhang
14d93b3bd1 DBL apparently now requires json payload not simple form data for poststats 2018-08-11 23:25:06 +00:00
Jeremy Zhang
5ae32aeb89 Implement Members list command 2018-08-11 06:08:31 +00:00
Jeremy Zhang
6d06b4001f Use webapp secret instead of bot token 2018-08-10 04:22:24 +00:00
Jeremy Zhang
cb0f1b249e Entirely remove db portion in bot and handle kickban cmds in webapp 2018-08-10 04:13:56 +00:00
Jeremy Zhang
b763907feb Set static format to png 2018-08-03 21:59:17 +00:00
Jeremy Zhang
f3be159853 Ditch webp again
Whoops, accidentally introduced it back in somehow
2018-08-03 21:45:53 +00:00
Jeremy Zhang
ae05ac766d Enforce more keys to expire 2018-07-31 03:42:21 +00:00
Jeremy Zhang
a7d80c39d2 Utilize sentry to track execution errors 2018-07-30 01:26:54 +00:00
Jeremy Zhang
1629a8982c Implement reactions 2018-07-27 08:57:54 +00:00
Jeremy Zhang
0203f24ce7 Fix admin voting page crash 2018-07-23 05:02:26 +00:00
Jeremy Zhang
3783cf1152 Move columns found in discord api on the guilds table into redis 2018-07-20 23:10:24 +00:00
Jeremy Zhang
ee051074a7 Remove messages reference 2018-07-18 00:49:32 +00:00
Jeremy Zhang
0c1b706c28 Remove debug print from discordbot utilspy 2018-07-18 00:39:39 +00:00
Jeremy Zhang
6cd27f2aff Fix permissions issue and role hoists 2018-07-18 00:38:37 +00:00
Jeremy Zhang
86c7232b35 Remove guild members table for storing in redis 2018-07-17 23:47:30 +00:00
Jeremy Zhang
56ba9bc127 Reimplement remove message table 2018-07-16 23:47:25 +00:00
Jeremy Zhang
89b12d06ab Revert "Remove messages table", Accidentally committed in dev code
This reverts commit 6d6b390431.
2018-07-16 23:43:41 +00:00
Jeremy Zhang
6d6b390431 Remove messages table 2018-07-16 23:34:13 +00:00
Jeremy Zhang
bc129289fc Use redis to store discord api related objects, so far messages only
Keeping the table for now in case the redis method does not work as hoped
2018-07-16 03:50:31 +00:00
Jeremy Zhang
de94f87c45 Fix gino bugs, reimplement ban and revoke cmds, enforce postgresql 2018-07-10 19:06:54 +00:00
Jeremy Zhang
ac225c84f5 Initial switch to gino for discordbot db 2018-07-10 07:04:19 +00:00
Jeremy Zhang
3ca6a33be7 Update raw event handling to use the new payload param in d.py 2018-07-09 01:58:23 +00:00
Jeremy Zhang
ccf9aed9ec Add the ability to disallow words (banned words) 2018-07-09 01:37:46 +00:00