Commit graph

53 commits

Author SHA1 Message Date
e209199134 Handle cases where error message can't be sent, added intents, disable private channels collection 2021-04-14 19:57:35 -05:00
b3d3df2cb7 Separate args with any whitespace 2021-04-14 16:42:18 -05:00
40223ec8b5
Class commands, improved sharding, and many other changes (#88)
* Load commands recursively

* Sort commands

* Missed a couple of spots

* missed even more spots apparently

* Ported commands in "fun" category to new class-based format, added babel eslint plugin

* Ported general commands, removed old/unneeded stuff, replaced moment with day, many more fixes I lost track of

* Missed a spot

* Removed unnecessary abort-controller package, add deprecation warning for mongo database

* Added imagereload, clarified premature end message

* Fixed docker-compose path issue, added total bot uptime to stats, more fixes for various parts

* Converted image commands into classes, fixed reload, ignore another WS event, cleaned up command handler and image runner

* Converted music/soundboard commands to class format

* Cleanup unnecessary logs

* awful tag command class port

* I literally somehow just learned that you can leave out the constructor in classes

* Pass client directly to commands/events, cleaned up command handler

* Migrated bot to eris-sharder, fixed some error handling stuff

* Remove unused modules

* Fixed type returning

* Switched back to Eris stable

* Some fixes and cleanup

* might wanna correct this

* Implement image command ratelimiting

* Added Bot token prefix, added imagestats, added running endpoint to API
2021-04-12 11:16:12 -05:00
5d2e2b5274 Upgraded retrotext and DBL posting packages, fixed mention prefixes and DM commands 2021-03-18 09:29:03 -05:00
c0332673bf well crap 2021-03-16 15:59:59 -05:00
03ddf5c88c Fixed mention prefix 2021-03-16 15:45:10 -05:00
74baa29684 Send unsanitized content to commands via content parameter, fixed emote command, removed another async promise 2021-03-16 13:24:21 -05:00
f2e81b7eeb Only check permissions on current channel 2021-03-12 14:42:07 -06:00
4fac887e22 Pass cleaned message content to commands, could break things but idk 2021-03-05 21:59:13 -06:00
45bb53d521 Ping the user when a response takes over 3 minutes, added config option for specifying a custom 8mb image domain 2021-03-05 12:03:17 -06:00
443da54298 Updated to Eris 0.14, removed spam, removed unused font 2021-01-27 22:57:13 -06:00
dd114e27b5 Added more activity messages, updated packages, allow any public Lavalink instance to be used via the "local" parameter, added clearer error message for API timeouts 2021-01-04 10:29:18 -06:00
8a2d4e6669 Fixed image API request closing prematurely, disabled music commands in production, various fixes regarding direct messages, fixed reply image checking, and removed yoda 2020-12-26 12:17:10 -06:00
ef945adf09 Added support for using both MongoDB and PostgreSQL, changed image api timeouts, removed all moderation commands 2020-12-17 20:32:19 -06:00
620212257d Changed 8MB image embed 2020-12-07 20:42:36 -06:00
0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
cf5c649384 Heavy work on the image detection code, fixed mention prefixes not being properly registered 2020-10-18 16:53:35 -05:00
bc59550625 Fixed commands in DMs 2020-09-13 15:49:18 -05:00
719fdf5871 Changed include dirs, updated readme/packages, use more efficient command checking, fixed reverse 2020-09-12 13:57:25 -05:00
7f5c6ab8f9 Fixed some commands not running 2020-09-10 13:31:41 -05:00
0bd8905829 Don't read database on every message (why the hell did i think this was even remotely good design) 2020-09-09 20:14:01 -05:00
c471bd8af8 Preliminary DM support, update URLs to point to new repo link 2020-09-01 17:10:19 -05:00
ba664fd19a Reject feedback messages if they contain links, increased image request timeout, some other fixes 2020-08-13 08:47:41 -05:00
f9c8d6b26d A bit of cleanup 2020-07-28 09:38:55 -05:00
6eee7c6058 Moved back to MongoDB, added some extra flags to flag 2020-07-26 19:52:13 -05:00
f26bade555 why do I keep missing things 2020-07-16 19:54:03 -05:00
2a67b76169 Migrated database to PostgreSQL, updated packages 2020-07-10 12:07:24 -05:00
2f1c37579e Added flag, fixed the command count issue (for real) 2020-06-18 14:02:35 -05:00
f3dd98c293 (hopefully) fixed command count 2020-05-31 15:01:17 -05:00
de672a341f hotfix 2020-04-26 17:17:32 -05:00
c65a8115aa Added count, added some new playing lines, fixed security issue with hackban 2020-04-26 16:55:33 -05:00
88dd0c6172 Use lean() method on read-only database calls 2020-04-24 15:25:27 -05:00
881dfd34d7 Added toggle for temporary image storage 2020-04-23 21:14:03 -05:00
97c5ee8c05 Added fallback for large images, fixed corrupt xmp profile issue, updated packages 2020-04-20 15:52:22 -05:00
f6425dc294 Refactored image/embed handling to prepare for something, don't use fuzz with sonic 2020-04-12 14:51:48 -05:00
628a002205 Added channel, allow using a mention on hackban and snowflake 2020-04-09 21:40:52 -05:00
446ba109c7 Optimize checks in messageCreate event 2020-03-14 18:22:09 -05:00
0ff784089b Optimized some things, fixed ifunny not properly appending to image 2020-03-02 17:10:29 -06:00
e28f45cfec Made image detection get the proxy URL, added ad-hoc large file message 2020-02-25 15:07:36 -06:00
fd3bd96ae6 Added the message content as a parameter to command.run, re-added message to ban 2020-01-13 10:31:01 -06:00
35cec45196 Fixed bug with emote, removed admin section from help 2020-01-12 12:27:16 -06:00
6c80d5f67c Forgot to use or instead of and 2019-12-16 17:55:08 -06:00
1e8c7a6497 Updated readme, check if bot has permissions to send messages 2019-12-16 17:14:29 -06:00
3a02efef70 Updated links to point to new GitHub repo name 2019-12-16 15:32:47 -06:00
903f5eebf0 Removed XP system, fixed a few more bugs 2019-12-16 12:13:38 -06:00
0920c459d5 Improved twitter bot a bit more, replaced all indexOf checks, fixed xp message bug 2019-11-23 17:23:28 -06:00
e1347fcf52 Added proper license, removed unused stuff, more twitter bot work 2019-11-17 19:57:12 -06:00
f7756f1b52 Added basic twitter bot and spin, updated readme, other various changes 2019-11-15 10:59:50 -06:00
ef071a39d4 Removed extra image request for image commands, various other tweaks 2019-11-11 14:54:19 -06:00
171253c52c Added snowflake and experimental xp system, made logger easier to use 2019-11-05 09:52:46 -06:00