Commit Graph

82 Commits

Author SHA1 Message Date
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
Jeremy Zhang
ff81c5009d Capture and promptly update when discrim changes 2018-01-25 11:19:43 +00:00
Jeremy Zhang
ff42f4195b Remove discordbot on init 2018-01-23 19:13:13 +00:00
Jeremy "EndenDragon" Zhang
36b31675e1
Fix server variable for the last commit
Because fixing a bug shouldn't introduce another one.
2018-01-14 23:53:28 -08:00
Jeremy Zhang
6c351c98fe Fix grabbing bans during server join to fix crash 2018-01-14 21:12:14 +00:00
Jeremy Zhang
ae12b8fa22 Posting stats for bots.discord.pw 2018-01-06 09:59:04 +00:00
Jeremy Zhang
4ae37fa854 Post stats before indexing all servers 2018-01-05 10:00:24 +00:00
Jeremy Zhang
71097eca8b Add posting status for discordbots.org 2018-01-05 09:21:25 +00:00
Jeremy Zhang
2493cd80bc Read message history being disabled might interfere with reading channel messages 2017-11-25 02:50:14 +00:00
Jeremy Zhang
d1b94ca904 Command to activate even if titan is nicknamed 2017-11-14 20:58:19 +00:00
Jeremy Zhang
07de4b3f0c update members first then deal with the messages 2017-11-07 20:19:10 +00:00
Jeremy Zhang
aed6192364 Firing delete message twice fix 2017-09-16 17:16:34 +00:00
Jeremy Zhang
46f5594763 Filter presence updates to prevent updating everything, which might create cpu hog 2017-09-16 16:53:39 +00:00
Jeremy Zhang
8a7e3322b9 Remove global header when the bot is not connected to the database 2017-09-11 20:33:20 +00:00
Jeremy "EndenDragon" Zhang
71b29cd75d Set logging location in config 2017-09-06 21:00:09 -07:00