RoyalTwo / RTIW-Bot

A flawless (in my unbiased opinion) Discord bot intended as a foundation for others, and for my own server.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

RTIW Bot

Random Things I Want

js-badgenode-badgemongodb-badge

What is this?

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!

Fork repo

There are two versions:

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)

Why?

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 🙂

How To Host (if you want to)

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 and BOT_ID are obtained from your Discord Developer page, and DB_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

❤️ Hope you enjoy, I know I enjoyed making it! ❤️

About

A flawless (in my unbiased opinion) Discord bot intended as a foundation for others, and for my own server.

License:MIT License


Languages

Language:JavaScript 100.0%