Commit Graph

984 Commits

Author SHA1 Message Date
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
9faef4f761 Add Titan Square SVG 2018-07-15 20:04:25 +00:00
Jeremy "EndenDragon" Zhang
9687e28f9c
Merge pull request #113 from jelle619/master
SVG versions of Titan Shield logo in img resources
2018-07-15 13:00:56 -07:00
Jeremy Zhang
a68dafa483 Upgrade setuptools in the c9 install process 2018-07-14 23:51:08 +00:00
Jeremy Zhang
bc215c0e31 Update c9 install script: config line nums and update py3.5 2018-07-14 22:52:40 +00:00
Jelle Z
8900d565b8
SVG versions of Titan Shield logo in img resources
*Made possible by Discord user welian#6782*

It's a nice resource to have. I also need something to host this for my secret Titan project. :P
2018-07-13 22:10:32 +02:00
Jeremy Zhang
31f9b9fa4a Currently gino requires sqlalchemy 1.2.8 and will crash if under teh latest one 2018-07-10 22:16:16 +00:00
Jeremy "EndenDragon" Zhang
d59e19d393
Merge pull request #112 from TitanEmbeds/gino
Use async adapter for Discord Bot -- gino
2018-07-10 12:11:26 -07: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 "EndenDragon" Zhang
f0f1f226e3
Merge pull request #111 from jelle619/master
Various bug fixes for Fire Wyvern theme
2018-07-08 15:42:41 -07:00
Jeremy Zhang
368ceed2c1 Remove temp c9 file, wasnt supposed to push that one 2018-07-08 20:41:35 +00:00
Jeremy Zhang
efbf1df2ed Roles as strings not int 2018-07-08 20:41:12 +00:00
Jeremy Zhang
7ff8bcdefe JSON dump the roles before putting in db 2018-07-08 20:38:59 +00:00
Jeremy Zhang
d14f9889eb Try manually adding member if not exist in db for webapp 2018-07-08 20:31:36 +00:00
Jelle Z
42e8e379d6 Various bug fixes for Fire Wyvern theme 2018-07-07 12:10:50 +02:00
Jeremy "EndenDragon" Zhang
1fda98ac89
Merge pull request #110 from jelle619/master
Added Safari support to Wyvern themes
2018-07-04 09:52:17 -07:00
Jelle Z
8223f3ad09 Added Safari support to Wyvern themes
Also improved general browser compatibility.
2018-07-04 13:16:57 +02:00
Jeremy Zhang
eab95072d7 Change vote badge link to personal vote page 2018-07-04 06:58:01 +00:00
Jeremy Zhang
cb10ba9323 Link Fire Wyvern and Ice Wyvern themes into the codebase 2018-07-04 06:35:01 +00:00
Jeremy "EndenDragon" Zhang
1bcd073cb2
Merge pull request #109 from jelle619/master
Added Ice Wyvern & Fire Wyvern theme
2018-07-03 23:26:42 -07:00
Jelle Z
49c2380d69 Added Ice Wyvern & Fire Wyvern theme
These themes still have to be implemented.
2018-07-02 15:42:43 +02:00
Jeremy "EndenDragon" Zhang
16700b56ee
Prizes MAY include
Sounds better
2018-07-01 17:32:22 -07:00
Jeremy Zhang
e00ddf1f3c Better video players, does not autoplay 2018-06-30 07:30:54 +00:00
Jeremy Zhang
32b47921e5 Better reconnect logic. Refetch messages over http once reconnected when exceeded 1 min 2018-06-28 08:05:08 +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
5cf32ffb0c Hide DBL banner if already voted, however homepage always shows regardless 2018-06-27 23:11:36 +00:00
Jeremy Zhang
470607af1a Display image typed embeds similar to attachments 2018-06-27 02:34:48 +00:00
Jeremy "EndenDragon" Zhang
a625e88edb
New translations messages.pot (Chinese Simplified) (#108) 2018-06-25 19:22:46 -07: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
4af93a976d Fix translations last revision date from crowdin issue 2018-06-25 00:40:48 +00:00
Jeremy "EndenDragon" Zhang
0a71188c7d
New Crowdin translations (#101)
* New translations messages.pot (Serbian (Cyrillic))

* New translations messages.pot (Polish)

* New translations messages.pot (Indonesian)

* New translations messages.pot (Portuguese)

* New translations messages.pot (Chinese Simplified)

* New translations messages.pot (Italian)

* New translations messages.pot (Spanish)

* New translations messages.pot (Hungarian)

* New translations messages.pot (Polish)

* New translations messages.pot (Serbian (Cyrillic))

* New translations messages.pot (Swedish)
2018-06-24 17:23:17 -07:00
Alex Howard
41ef915a46
Make the explanation on getting CSS a bit better. 2018-06-24 16:18:32 -04:00
Alex Howard
a9b9eef3ac
Merge pull request #107 from circl-lastname/master
Tell users how to get custom css
2018-06-24 16:11:33 -04:00
circl
f52a287503 Tell users how to get custom css 2018-06-24 22:00:37 +02: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
ed6ae41c42 Add provider name to rich embeds and set provider and author text color to match discords 2018-06-20 06:37:53 +00:00