Commit Graph

96 Commits

Author SHA1 Message Date
Jeremy "EndenDragon" Zhang
a7ace1029e
Disable guild chunking 2021-03-12 16:39:16 -08:00
Jeremy "EndenDragon" Zhang
2f8b5fd820
Set intents 2021-03-12 13:34:45 -08:00
Jeremy Zhang
15e030208b Fix guild channels update not taking effect 2020-11-21 16:42:41 -08:00
Jeremy Zhang
07e4e4113c Post stats every 30m 2020-02-21 02:41:39 -08:00
Jeremy Zhang
51ff9b48b6 Option to pass in args to handle shard manually 2020-02-17 18:00:19 -08:00
Jeremy Zhang
575d066f9f Subscribe to redis in start 2020-02-17 15:09:58 -08:00
Jeremy Zhang
712cc3aba7 On ready to on shard ready 2020-02-17 14:47:35 -08:00
Jeremy Zhang
e9ad93c929 Refractor bot start code 2020-02-17 14:40:53 -08:00
Jeremy "EndenDragon" Zhang
6d7ccdbec7
Revert "Connect to redis after bot is ready" 2020-02-17 14:11:24 -08:00
Jeremy "EndenDragon" Zhang
d5492af9df
Connect to redis after bot is ready 2020-02-16 13:23:27 -08:00
Jeremy Zhang
5c446935bc Subscribe to redisqueue after the bot is ready 2019-10-19 13:38:45 -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
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
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
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
Jeremy Zhang
228ba7bbad Use official d.py rewrite 2018-09-15 23:34:47 +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
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
3783cf1152 Move columns found in discord api on the guilds table into redis 2018-07-20 23:10:24 +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
ecbe658dd3 Revert cleanup db commit 2018-06-23 09:20:49 +00:00
Jeremy Zhang
25d80c8205 Build cleanup db into the main titan code, executing it on bot startup/ready 2018-06-23 06:11:19 +00:00
Jeremy Zhang
4c41a31418 Remove init as a command because its not supposed to be one 2018-05-21 22:35:08 +00:00
Jeremy Zhang
5fa1e43e2a Throw threadpool out of the window 2018-03-25 22:16:55 +00:00
Jeremy Zhang
70b2b266c8 Update member if there are discreptancies in db 2018-03-25 20:12:58 +00:00
Jeremy Zhang
200947e78f Fix playing status not showing 2018-03-24 14:54:50 +00:00
Jeremy Zhang
21dc5d0925 Fix handling raw message deletion 2018-03-24 14:46:32 +00:00
Jeremy Zhang
f7caa5ede5 Fix Titan Commands 2018-03-24 08:19:46 +00:00
Jeremy Zhang
930c026108 Fix handling discord user ban 2018-03-24 08:02:03 +00:00
Jeremy Zhang
817788383d Clear bufferarray on error too 2018-03-22 23:43:07 +00:00
Jeremy Zhang
731b47e978 Set various ids to integers in raw receive 2018-03-22 23:18:39 +00:00
Jeremy Zhang
00d9a9a356 Fix channel update not responding 2018-03-22 23:07:52 +00:00
Jeremy Zhang
f7b3e4e65e AutoShard Titan bot with dpy rewrite, Closes #71 2018-03-22 22:55:09 +00:00
Jeremy Zhang
c41e241fd8 ignore exception if pushing dupe msg on server join 2018-02-18 01:15:11 +00:00
Jeremy Zhang
076870763e Push message first before hitting the database 2018-02-16 20:54:06 +00:00
Jeremy Zhang
a2f378da57 Only act upon servers for channel create and remove 2018-01-25 11:20:56 +00:00