Commit Graph

92 Commits

Author SHA1 Message Date
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 b6db4a869e
Fixed issue where sound player would stop playing audio in a server until the bot is restarted 2021-08-30 23:44:22 -05:00
Essem 382f4da29e
Fixed sound player permission check 2021-08-30 16:17:20 -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 560d3883ad
Made soos more smooth, added server count to prometheus, fixed unhandled soundplayer error 2021-08-16 23:04:11 -05:00
Essem 5e8c587c41
Improved tag retrieval, blacklisted a ton of events, fixed skip issue for real 2021-08-14 08:00:16 -05:00
Essem b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00
Essem f2ace6ee52
Fixed durations 2021-08-06 15:39:04 -05:00
Essem 0483e68016
Sound playback is pain 2021-07-06 09:23:27 -05:00
Essem 11a77df700
maybe this fixes the audio message deleting? 2021-07-06 08:25:12 -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
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 7cf9bcca4e write stable audio queue code challenge (instantly failed) 2021-03-05 22:13:58 -06:00
TheEssem 4419d73d97 soundplayer crash prevention 2021-03-05 15:32:37 -06:00
TheEssem f0c685d8c4 Make soundreload more useful 2021-03-05 15:13:54 -06:00
TheEssem 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
TheEssem e7ffa23411 Some assorted fixes 2021-02-07 11:08:55 -06:00
TheEssem c2bd68263b Made image API node chooser sort by job amount instead of CPU usage, added soundreload 2021-01-08 12:08:10 -06:00
TheEssem 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
TheEssem 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
TheEssem 78ae47dbbb Handle API errors more gracefully, fixed sharpen, restrict screenshot to the bot owner 2020-12-14 10:58:31 -06:00
TheEssem a1c24ea30d Allow sound player to start even if some nodes are down, docker maintenance 2020-12-11 16:46:05 -06:00
TheEssem 0566dca06d Some tweaks to music player commands, added loop, renamed existing loop command to unfreeze 2020-12-11 13:52:02 -06:00
TheEssem 0600cf230f Caption now supports more unicode characters, more api work, fixed multiple bugs 2020-11-05 15:40:18 -06:00
TheEssem 6e8473d784 Only delete messages if they exist, removes errors in console 2020-09-23 14:12:39 -05:00
TheEssem 7047081f98 Fixed some music player stuff 2020-09-22 15:33:07 -05:00
TheEssem 925eb387dd Fixed issue with skip vote counts, added headless chrome IP to config, other fixes 2020-09-18 19:54:52 -05:00
TheEssem 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
TheEssem 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
TheEssem 617cf01090 Allow server admins to delete tags, don't run ready functions more than needed 2020-07-16 09:28:09 -05:00
TheEssem 0760136ded Attempt workaround for Twitter errors crashing the bot, fixed lavalink memory leak 2020-07-07 14:28:16 -05:00
TheEssem 8e5c0aa2ac More music/sound work 2020-07-06 16:39:56 -05:00
TheEssem 59c2c230fb Added initial music commands and category, moved lavalink node config to separate file 2020-07-06 15:19:30 -05:00
TheEssem 7dbf6fdf2a Automatically disable voice commands if Lavalink is missing 2020-06-27 16:34:31 -05:00
TheEssem 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
TheEssem ba4ded7b72 Added version to stats and workaround for #1 2019-12-06 20:04:17 -06:00
TheEssem 3d225f6547 Added new help command and command metadata, various changes 2019-12-02 14:47:22 -06:00
TheEssem 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
TheEssem e1347fcf52 Added proper license, removed unused stuff, more twitter bot work 2019-11-17 19:57:12 -06:00
TheEssem ef071a39d4 Removed extra image request for image commands, various other tweaks 2019-11-11 14:54:19 -06:00
TheEssem 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
TheEssem c33a86eb4c Initial commit 2019-09-13 15:02:41 -05:00