✨ Random Things I Want ✨
This is a Discord bot originally designed for random features I wanted for my personal server I use to keep notes, but is now completely usable as a foundation.
Features for users:
- RSS feed auto updater
- Changeable notification channel
- YouTube channel auto updater
- Slash commands for configuration options
Features for devs:
- Completely server-agnostic (took a lot more time than you'd think 🙃)
- Very easily extensible
- Custom-made RSS feed auto updater (use it please I enjoyed making it)
- Scripts to help you change things
- Uses MongoDB for backend storage!
It's a good base for your own bot if you have a database!
master
branch which is a solid foundation for a custom bot, includes every feature listed above
custom
branch which is my own custom bot with more features (some features may not be server agnostic! Eventually I'll refactor for that, but it's not a priority and can take time)
It was fun!
I've never really worked with the Discord API before, and this was also a great way to further familiarize myself with Node's event structure and overall usage. I learned a lot, especially about using third party APIs and understanding documentation.
I absolutely could've just used any of the many bots available out there, but I'm happy to have made it myself 🙂
This can be built from source normally, just make sure you have a Mongo database. The only extra step is the .env file necessary with private keys.
- Clone the repo, and make a new file in the folder called ".env"
- In .env, paste the following:
BOT_TOKEN="" BOT_ID="" DB_URL=""
- Put your values into the quotes.
BOT_TOKEN
andBOT_ID
are obtained from your Discord Developer page, andDB_URL
is the URL to your MongoDB database. - Subscribe to your RSS/YT feed (if you don't want the defaults)
- Run
npm init
as usual