Commit Graph

135 Commits

Author SHA1 Message Date
Essem d00bc32b01
Properly catch large images 2022-02-23 15:51:20 -06:00
Essem bc9eb12b5a
Move database migration, removed guild modified times, added XM plugin to lavalink config 2022-02-21 18:55:25 -06:00
Essem c8172ca062
Don't update access time if not run in a guild 2022-02-19 11:47:24 -06:00
Essem c568423870
Added support for database updates/migration, added guild access timestamps 2022-02-18 23:05:41 -06:00
Essem dd5df2402c
More null type check improvements 2022-01-16 14:27:59 -06:00
Essem e1cfbff5a8
Improved pagination, empty value checks, and bigints 2022-01-14 23:26:38 -06:00
Essem 382a7b0298
Refine audio playback some more 2022-01-08 15:54:34 -06:00
Essem 5acd2b1113
Properly await more functions 2021-12-13 16:09:12 -06:00
Essem c5fc1d0b0f
Properly await message deletes, update packages 2021-12-13 15:46:08 -06:00
Essem 14046a811a
Add config option to make the bot stay in voice chat 2021-12-11 23:44:49 -06:00
Essem 536b931ead
Updated packages, take advantage of new eris-fleet features, fixed issue where messages wouldn't send 2021-11-12 17:21:43 -06:00
Essem fae75db44a
Switched to content.embeds 2021-11-09 22:09:10 -06:00
Essem f5a0fa5f7c
Catch image load warnings, set message limit to 50, don't crash the bot if .git is missing 2021-10-23 13:58:19 -05:00
Essem ab3ae7b9c6
Adapt max image file size to server boost tier, fixes #165 2021-10-15 11:05:58 -05:00
Essem c8d8973d7b
Fixed bots being counted as users in voice channels 2021-10-07 23:58:24 -05:00
Essem 59e63065f1
Catch more message deletes 2021-09-21 19:15:19 -05:00
Essem 264b59ba59
Added fartreverb, added shuffle, fixed reload error messages, fixed some possible bugs 2021-09-20 12:26:40 -05:00
Essem 3517826f46
Set max skip vote amount based on number of users in voice chat, remove skip votes when session ends 2021-09-19 17:49:02 -05:00
Essem c59a0bf0c4
Pause music when everyone leaves the voice channel, try a slightly different approach to voice events 2021-09-13 17:24:15 -05:00
Essem ae2ebe0337
Port to ESM modules (haha funny), removed cache request, many other changes that I forgot about 2021-08-19 09:19:14 -05:00
Essem 516570efe4
Add timeouts to many projectlounge requests, fixed command bug 2021-08-18 08:07:55 -05:00
Essem a75c55a1ca
Fixed disabled commands on SQLite 2021-08-13 14:24:26 -05:00
Essem 9f36a79a2b
Added command, reverted database service split 2021-08-12 22:28:09 -05:00
Essem da709c485f
Make pagination use interactions instead of reactions, filter out base64 images in image 2021-08-12 18:45:17 -05:00
Essem b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00
Essem 9a1fd3b6f3
Removed unnecessary checks at beginning of messageCreate 2021-08-09 19:09:32 -05:00
Essem 4dc1b9f5a9
Removed link from image title, handle undefined guilds 2021-08-09 11:12:47 -05:00
Essem b6f28ece76
Temprarily disable reply on pagination, made a small optimization to prefix handler 2021-08-07 15:28:39 -05:00
Essem e4e633beff
Allow owner to use music commands in production, make cache request to 8MB images 2021-08-06 12:03:44 -05:00
Essem 77ca0fd344
Improved error handling 2021-07-31 13:36:00 -05:00
Essem bc2826ccbb
Removed quote detection from normal arguments 2021-07-08 21:03:19 -05:00
Essem 299663adf8
Port to eris-fleet 2021-07-04 23:15:27 -05:00
Essem ecc6d98aec
Added sqlite database support, connect new argument parser to message handler 2021-07-01 23:42:12 -05:00
TheEssem 0fbc165154
Delete unfinished jobs on connection close 2021-06-27 17:06:52 -05:00
TheEssem a0a32c31b9
Switched image API from raw TCP to websockets, removed selective image reading code 2021-06-18 00:10:11 -05:00
TheEssem bd221d5909
Make command error logs more verbose, image server connection/job error handling changes 2021-06-01 20:27:28 -05:00
TheEssem 364d8bf006 Made command outputs post as replies, fixed status changing on cluster restart, extra stuff 2021-05-11 11:12:01 -05:00
TheEssem e0e0c9c7d4 More hotfixing 2021-04-29 19:03:03 -05:00
TheEssem 19922858f2 Fixed some issues regarding eris-sharder and newer eris versions 2021-04-29 16:56:32 -05:00
TheEssem f21cb21d9c Removed error/warn events (handled by eris-sharder) 2021-04-19 10:12:32 -05:00
TheEssem c67499af9d Added initial support for detecting videos, prevent music messages from showing on soundboard commands, fixed(?) permission checking 2021-04-19 09:31:39 -05:00
TheEssem 3f1b36670b Fixed voice channel switching issue 2021-04-15 13:59:57 -05:00
TheEssem e209199134 Handle cases where error message can't be sent, added intents, disable private channels collection 2021-04-14 19:57:35 -05:00
TheEssem b3d3df2cb7 Separate args with any whitespace 2021-04-14 16:42:18 -05:00
Essem 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
TheEssem 5d2e2b5274 Upgraded retrotext and DBL posting packages, fixed mention prefixes and DM commands 2021-03-18 09:29:03 -05:00
TheEssem c0332673bf well crap 2021-03-16 15:59:59 -05:00
TheEssem 03ddf5c88c Fixed mention prefix 2021-03-16 15:45:10 -05:00
TheEssem 74baa29684 Send unsanitized content to commands via content parameter, fixed emote command, removed another async promise 2021-03-16 13:24:21 -05:00
TheEssem f2e81b7eeb Only check permissions on current channel 2021-03-12 14:42:07 -06:00