Commit Graph

198 Commits

Author SHA1 Message Date
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
de94f87c45 Fix gino bugs, reimplement ban and revoke cmds, enforce postgresql 2018-07-10 19:06:54 +00:00
ac225c84f5 Initial switch to gino for discordbot db 2018-07-10 07:04:19 +00:00
3ca6a33be7 Update raw event handling to use the new payload param in d.py 2018-07-09 01:58:23 +00:00
ccf9aed9ec Add the ability to disallow words (banned words) 2018-07-09 01:37:46 +00:00
503327b693 Run until complete on the cleanup function 2018-06-28 05:33:11 +00:00
4cd48e75d7 Cleanup db script to not depend on Discord.py so it could be ran in the background 2018-06-28 05:29:52 +00:00
f47d439e33 Put all guilds in a list before going thru it 2018-06-25 07:37:40 +00:00
316e95a103 Cleanup db lets create a task instead 2018-06-25 07:08:31 +00:00
4c059c9d42 Cleanup db move done inside with statement 2018-06-25 06:59:47 +00:00
3ce4a8fe83 Fix database connection, better logging 2018-06-25 06:56:33 +00:00
abf34dd438 Add a playing game msg to cleanup bot script 2018-06-25 06:41:26 +00:00
71eb141093 Make cleanup db messages shard 2018-06-25 06:23:45 +00:00
ecbe658dd3 Revert cleanup db commit 2018-06-23 09:20:49 +00:00
25d80c8205 Build cleanup db into the main titan code, executing it on bot startup/ready 2018-06-23 06:11:19 +00:00
4c41a31418 Remove init as a command because its not supposed to be one 2018-05-21 22:35:08 +00:00
62ae4825ca Remove async from delete message typo 2018-03-31 04:05:20 +00:00
46926cd93c Run in executor instead 2018-03-28 04:13:32 +00:00
4820fba2ae Use scoped session 2018-03-26 18:01:38 +00:00
d400c022c1 Close db connection at end 2018-03-26 15:35:31 +00:00
5fa1e43e2a Throw threadpool out of the window 2018-03-25 22:16:55 +00:00
e0b18fb94f Revert "Keep trying until session obtained"
This reverts commit 5364cf9004.
2018-03-25 21:38:11 +00:00
5364cf9004 Keep trying until session obtained 2018-03-25 21:26:53 +00:00
1e43f607b6 Revert "Not close session for now"
This reverts commit d3ce86f3c0.
2018-03-25 21:17:08 +00:00
d3ce86f3c0 Not close session for now 2018-03-25 21:04:40 +00:00
b767df14c9 Revert "Wait until got session"
This reverts commit fa3d533354.
2018-03-25 20:31:25 +00:00
fa3d533354 Wait until got session 2018-03-25 20:24:39 +00:00
70b2b266c8 Update member if there are discreptancies in db 2018-03-25 20:12:58 +00:00
19ff2ffd46 Fix game not showing and string the user id 2018-03-25 19:28:36 +00:00
c35743b498 JustDelete the message instead of iterating during guild remove 2018-03-25 05:57:00 +00:00
e8424a63c8 Customizable msg posting timeout and msg length 2018-03-25 04:43:39 +00:00
18f25d0852 Fix channel history typo 2018-03-24 18:20:21 +00:00
37a61bc465 Shard command no longer returns None 2018-03-24 17:21:13 +00:00
da8ef6cdd1 Check shard command and sharding support for fetch msg script 2018-03-24 17:04:09 +00:00
200947e78f Fix playing status not showing 2018-03-24 14:54:50 +00:00
21dc5d0925 Fix handling raw message deletion 2018-03-24 14:46:32 +00:00
f7caa5ede5 Fix Titan Commands 2018-03-24 08:19:46 +00:00
930c026108 Fix handling discord user ban 2018-03-24 08:02:03 +00:00
817788383d Clear bufferarray on error too 2018-03-22 23:43:07 +00:00
731b47e978 Set various ids to integers in raw receive 2018-03-22 23:18:39 +00:00
00d9a9a356 Fix channel update not responding 2018-03-22 23:07:52 +00:00
f7b3e4e65e AutoShard Titan bot with dpy rewrite, Closes #71 2018-03-22 22:55:09 +00:00
487f5756f5 Parse role mentions 2018-03-04 06:31:08 +00:00
d438b6d34f Update cleanup db messages to message id 2018-03-02 19:59:40 -08:00
63979835ab Animated Emoji Support, Closes #85 2018-03-01 07:57:51 +00:00
c41e241fd8 ignore exception if pushing dupe msg on server join 2018-02-18 01:15:11 +00:00
076870763e Push message first before hitting the database 2018-02-16 20:54:06 +00:00
e6422b118d Display NSFW channel warning 2018-01-28 00:43:53 +00:00
a2f378da57 Only act upon servers for channel create and remove 2018-01-25 11:20:56 +00:00
ff81c5009d Capture and promptly update when discrim changes 2018-01-25 11:19:43 +00:00