Commit Graph

168 Commits

Author SHA1 Message Date
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
7fec01090c Update readme installation instructions and add browserstack 2018-08-04 07:29:54 +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
Jeremy Zhang
503327b693 Run until complete on the cleanup function 2018-06-28 05:33:11 +00:00
Jeremy Zhang
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
Jeremy Zhang
f47d439e33 Put all guilds in a list before going thru it 2018-06-25 07:37:40 +00:00
Jeremy Zhang
316e95a103 Cleanup db lets create a task instead 2018-06-25 07:08:31 +00:00
Jeremy Zhang
4c059c9d42 Cleanup db move done inside with statement 2018-06-25 06:59:47 +00:00
Jeremy Zhang
3ce4a8fe83 Fix database connection, better logging 2018-06-25 06:56:33 +00:00
Jeremy Zhang
abf34dd438 Add a playing game msg to cleanup bot script 2018-06-25 06:41:26 +00:00
Jeremy Zhang
71eb141093 Make cleanup db messages shard 2018-06-25 06:23:45 +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
62ae4825ca Remove async from delete message typo 2018-03-31 04:05:20 +00:00
Jeremy Zhang
46926cd93c Run in executor instead 2018-03-28 04:13:32 +00:00
Jeremy Zhang
4820fba2ae Use scoped session 2018-03-26 18:01:38 +00:00
Jeremy Zhang
d400c022c1 Close db connection at end 2018-03-26 15:35:31 +00:00
Jeremy Zhang
5fa1e43e2a Throw threadpool out of the window 2018-03-25 22:16:55 +00:00
Jeremy Zhang
e0b18fb94f Revert "Keep trying until session obtained"
This reverts commit 5364cf9004.
2018-03-25 21:38:11 +00:00
Jeremy Zhang
5364cf9004 Keep trying until session obtained 2018-03-25 21:26:53 +00:00
Jeremy Zhang
1e43f607b6 Revert "Not close session for now"
This reverts commit d3ce86f3c0.
2018-03-25 21:17:08 +00:00
Jeremy Zhang
d3ce86f3c0 Not close session for now 2018-03-25 21:04:40 +00:00
Jeremy Zhang
b767df14c9 Revert "Wait until got session"
This reverts commit fa3d533354.
2018-03-25 20:31:25 +00:00
Jeremy Zhang
fa3d533354 Wait until got session 2018-03-25 20:24:39 +00:00
Jeremy Zhang
70b2b266c8 Update member if there are discreptancies in db 2018-03-25 20:12:58 +00:00
Jeremy Zhang
19ff2ffd46 Fix game not showing and string the user id 2018-03-25 19:28:36 +00:00
Jeremy Zhang
c35743b498 JustDelete the message instead of iterating during guild remove 2018-03-25 05:57:00 +00:00