Commit graph

71 commits

Author SHA1 Message Date
398ce07bd2
Improve voice connection checking, take advantage of optional chaining operators 2022-07-23 16:02:04 -05:00
df43f9eb9d
Added more node name fallbacks, move slash command acknowledge to beginning of image command 2022-07-22 20:03:36 -05:00
57827e6877
Check if sound player is already connected, fallback for Lavalink node name 2022-07-22 19:05:34 -05:00
2d050046e4
Handle stuck tracks/Lavalink disconnections 2022-07-22 00:22:23 -05:00
cef69fa6c2
Fix possible event memory leak 2022-06-28 21:54:15 -05:00
0da673975b
Fix a couple of sound player bugs 2022-06-28 20:36:32 -05:00
d98f989fde
Fix soundboard commands not getting players properly 2022-06-28 00:40:54 -05:00
10becff3a0
Replace Lavalink wrapper, migrate to pnpm, add ko-fi sponsor link 2022-06-14 00:38:01 -05:00
046b1d7f28
Fix a couple of sound player bugs 2022-06-11 15:23:41 -05:00
dd7bd6b4cc
Some music fixes, merge decode and encode into a single command 2022-04-10 11:20:52 -05:00
c37a8a5fcf
Fix voice channel check error 2022-04-05 19:03:49 -05:00
a91c73b5bd
More slash commands, rework soundboard commands, added generic music and soundboard commands, tweak speechbubble 2022-04-04 22:05:28 -05:00
52e038c88e
Improve message checking, enable central request handler 2022-03-17 14:28:35 -05:00
57cd37d1eb
Improve running the bot in a global context 2022-03-11 20:28:35 -06:00
593c132555
Retry image jobs on fail, deafen the bot when playing audio 2022-01-26 15:24:10 -06:00
76fe5b6aa6
Added banner, added host 2022-01-18 13:05:39 -06:00
382a7b0298
Refine audio playback some more 2022-01-08 15:54:34 -06:00
fd77ace48e
Added node version check, some cleanup 2022-01-07 11:44:18 -06:00
3234688929
Fixed pause message, handle blank names better 2022-01-05 18:48:08 -06:00
5acd2b1113
Properly await more functions 2021-12-13 16:09:12 -06:00
c5fc1d0b0f
Properly await message deletes, update packages 2021-12-13 15:46:08 -06:00
14046a811a
Add config option to make the bot stay in voice chat 2021-12-11 23:44:49 -06:00
fae75db44a
Switched to content.embeds 2021-11-09 22:09:10 -06:00
3f28bf815c
Added shard count to prometheus metrics, catch message deletes in soundplayer 2021-09-20 18:32:59 -05:00
264b59ba59
Added fartreverb, added shuffle, fixed reload error messages, fixed some possible bugs 2021-09-20 12:26:40 -05:00
b07c0e389e
Added forceskip, fixed blank title tracks some more 2021-09-19 18:06:09 -05:00
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
3b4b302634
Make sure music search results aren't counted as playlists 2021-09-14 22:40:44 -05:00
4caad42240
Added support for youtube playlists, replaced multiple fetch requests with lavacord rest helpers 2021-09-14 19:14:44 -05:00
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
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
382f4da29e
Fixed sound player permission check 2021-08-30 16:17:20 -05:00
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
560d3883ad
Made soos more smooth, added server count to prometheus, fixed unhandled soundplayer error 2021-08-16 23:04:11 -05:00
5e8c587c41
Improved tag retrieval, blacklisted a ton of events, fixed skip issue for real 2021-08-14 08:00:16 -05:00
b2c7a43baa
Convert database handler into service, fix skip issue with sound player 2021-08-10 16:34:29 -05:00
f2ace6ee52
Fixed durations 2021-08-06 15:39:04 -05:00
0483e68016
Sound playback is pain 2021-07-06 09:23:27 -05:00
11a77df700
maybe this fixes the audio message deleting? 2021-07-06 08:25:12 -05:00
364d8bf006 Made command outputs post as replies, fixed status changing on cluster restart, extra stuff 2021-05-11 11:12:01 -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
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