A simple Discord bot for handling Music Bots' spam, built using discord.py
, and deployed to Heroku
.
- All music related messages are redirected to the server's dedicated music channel.
- All the servers' music channels & prefixes are saved in an online
Redis
database, which the bot communicates with.
On Nov 28th 22, Heroku discontinued all of their free tier services. As a result, I'm forced to take this bot offline until a good free service comes along or until Raspberry Pi's are back in stock.
-
Use My Deployed Instance: -
Or Deploy Your Own Instance:
- Self Hosted:
- Add a file named
token
to the utils folder with your bot user token - Add a file named
db_url
to the utils folder with aredis://...
redis DB URL - Run
elfbot.py
- Invite the bot to a server you manage
- Add a file named
- Using
Heroku
: (No longer free)- Fork this repo
- Create a new
heroku
app, link it to your fork and enable automatic deploys - Under the app's settings add a config var
DISCORD_BOT_TOKEN
and give it your bot user token as a value - Under the app's resources tab search for and install the
Heroku Redis
add-on - Under the app's resources tab enable the worker
- Invite the bot to a server you manage
- Self Hosted:
-
Go into the designated music spam text channel and enter the command
?setmusic
-
Enjoy cleaner text channels without all the spam from music bots related messages :)