Adding "chonker" command to the music bot #291
Unanswered
Bloedarend
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've added a new command to the bot, called chonker. It sends a message with a random image from the subreddit r/chonkers. I've tried 2 different packages for this.
npm i random-puppy
andnpm i redditimage.js
. Both of those seem to work fine, but mess with the music bot. The bot doesn't actually play the song anymore, and certain commands like skip won't work. To fix this I have to reinstall ytdl-core and opusscript. However, when I do this, the command chonker doesn't work anymore, and I'll have to install that package again. It feels like they're deleting each other over and over.I'm not very experienced with discord js, or js in general. So I'm not sure if this is something caused by the code of evobot or if it's something else. But I hope someone would be able to help me out.
Beta Was this translation helpful? Give feedback.
All reactions