Commit graph

31 commits

Author SHA1 Message Date
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
7cf9bcca4e write stable audio queue code challenge (instantly failed) 2021-03-05 22:13:58 -06:00
4419d73d97 soundplayer crash prevention 2021-03-05 15:32:37 -06:00
f0c685d8c4 Make soundreload more useful 2021-03-05 15:13:54 -06:00
2499fb2a3b Don't rely on lavacord eris helper package, another pagination fix attempt, make cowsay use a different lib 2021-03-05 12:06:22 -06:00
e7ffa23411 Some assorted fixes 2021-02-07 11:08:55 -06:00
c2bd68263b Made image API node chooser sort by job amount instead of CPU usage, added soundreload 2021-01-08 12:08:10 -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
78ae47dbbb Handle API errors more gracefully, fixed sharpen, restrict screenshot to the bot owner 2020-12-14 10:58:31 -06:00
a1c24ea30d Allow sound player to start even if some nodes are down, docker maintenance 2020-12-11 16:46:05 -06:00
0566dca06d Some tweaks to music player commands, added loop, renamed existing loop command to unfreeze 2020-12-11 13:52:02 -06:00
0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
6e8473d784 Only delete messages if they exist, removes errors in console 2020-09-23 14:12:39 -05:00
7047081f98 Fixed some music player stuff 2020-09-22 15:33:07 -05:00
925eb387dd Fixed issue with skip vote counts, added headless chrome IP to config, other fixes 2020-09-18 19:54:52 -05:00
a6137436d2 The bot can now actually interact with the API, fixed issues relating to leaving voice channels 2020-09-01 21:52:12 -05:00
95846d32d4 Fixed some issues with the sound player, search images in original message first, add max limit to dice 2020-08-16 11:48:37 -05:00
617cf01090 Allow server admins to delete tags, don't run ready functions more than needed 2020-07-16 09:28:09 -05:00
0760136ded Attempt workaround for Twitter errors crashing the bot, fixed lavalink memory leak 2020-07-07 14:28:16 -05:00
8e5c0aa2ac More music/sound work 2020-07-06 16:39:56 -05:00
59c2c230fb Added initial music commands and category, moved lavalink node config to separate file 2020-07-06 15:19:30 -05:00
7dbf6fdf2a Automatically disable voice commands if Lavalink is missing 2020-06-27 16:34:31 -05:00
0cc80da8b6 Huge sound player overhaul using Lavalink, added boom, removed prunejuice, boat, and bus, re-encoded audio files with ffmpeg 2020-06-27 12:18:26 -05:00
ba4ded7b72 Added version to stats and workaround for #1 2019-12-06 20:04:17 -06:00
3d225f6547 Added new help command and command metadata, various changes 2019-12-02 14:47:22 -06:00
16927d8667 Don't load commands if env variable doesn't exist, removed catfact/dogfact, many other changes 2019-11-29 20:00:14 -06:00
e1347fcf52 Added proper license, removed unused stuff, more twitter bot work 2019-11-17 19:57:12 -06:00
ef071a39d4 Removed extra image request for image commands, various other tweaks 2019-11-11 14:54:19 -06:00
d78bb8dff7 Added more commands, added an auto-delete mechanism for a 12-year-old's spam, various fixes 2019-10-24 13:54:23 -05:00
c33a86eb4c Initial commit 2019-09-13 15:02:41 -05:00