Commit Graph

73 Commits

Author SHA1 Message Date
Essem 4265e3e914
Make log files rotate, clean up separated text input, add more uncanny images, use a more reliable method to get the instance owner username 2022-08-03 20:54:07 -05:00
Essem 81ff5ae0ab
Move config files to new directory 2022-07-26 10:38:42 -05:00
Essem 398ce07bd2
Improve voice connection checking, take advantage of optional chaining operators 2022-07-23 16:02:04 -05:00
Essem df43f9eb9d
Added more node name fallbacks, move slash command acknowledge to beginning of image command 2022-07-22 20:03:36 -05:00
Essem 57827e6877
Check if sound player is already connected, fallback for Lavalink node name 2022-07-22 19:05:34 -05:00
Essem 2d050046e4
Handle stuck tracks/Lavalink disconnections 2022-07-22 00:22:23 -05:00
Essem cef69fa6c2
Fix possible event memory leak 2022-06-28 21:54:15 -05:00
Essem 0da673975b
Fix a couple of sound player bugs 2022-06-28 20:36:32 -05:00
Essem d98f989fde
Fix soundboard commands not getting players properly 2022-06-28 00:40:54 -05:00
Essem 10becff3a0
Replace Lavalink wrapper, migrate to pnpm, add ko-fi sponsor link 2022-06-14 00:38:01 -05:00
Essem 046b1d7f28
Fix a couple of sound player bugs 2022-06-11 15:23:41 -05:00
Essem dd7bd6b4cc
Some music fixes, merge decode and encode into a single command 2022-04-10 11:20:52 -05:00
Essem c37a8a5fcf
Fix voice channel check error 2022-04-05 19:03:49 -05:00
Essem a91c73b5bd
More slash commands, rework soundboard commands, added generic music and soundboard commands, tweak speechbubble 2022-04-04 22:05:28 -05:00
Essem 52e038c88e
Improve message checking, enable central request handler 2022-03-17 14:28:35 -05:00
Essem 57cd37d1eb
Improve running the bot in a global context 2022-03-11 20:28:35 -06:00
Essem 593c132555
Retry image jobs on fail, deafen the bot when playing audio 2022-01-26 15:24:10 -06:00
Essem 76fe5b6aa6
Added banner, added host 2022-01-18 13:05:39 -06:00
Essem 382a7b0298
Refine audio playback some more 2022-01-08 15:54:34 -06:00
Essem fd77ace48e
Added node version check, some cleanup 2022-01-07 11:44:18 -06:00
Essem 3234688929
Fixed pause message, handle blank names better 2022-01-05 18:48:08 -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 fae75db44a
Switched to content.embeds 2021-11-09 22:09:10 -06:00
Essem 3f28bf815c
Added shard count to prometheus metrics, catch message deletes in soundplayer 2021-09-20 18:32:59 -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 b07c0e389e
Added forceskip, fixed blank title tracks some more 2021-09-19 18:06:09 -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 3b4b302634
Make sure music search results aren't counted as playlists 2021-09-14 22:40:44 -05:00
Essem 4caad42240
Added support for youtube playlists, replaced multiple fetch requests with lavacord rest helpers 2021-09-14 19:14:44 -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 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