Informazioni
Rat facts is a Discord bot that delivers rat-based content.

🐀 rat facts
Features
- Gives random facts about rats (over 100!)
- Shows off pictures of rats
- Tells jokes about rats
- Consults the O-rat-cle to predict your future
- Take a quiz on your rat knowledge
- Become labeled a rat yourself
- Describes the lore beyond a great rat civil war
Available Commands:
All commands are evoked as slash commands! Type / and select a command from below:
/fact/pic/joke/8ball {question}/quiz/role/lore/help/misc
Adding rat facts to a server
Click here to invite rat facts to your server
Technical Details
Rat facts is built as a Node.js project. Additionally, it is written in TypeScript alongside other developer conveniences like ESLint and Prettier The bot relies heavily on the Discord.js module to make working with Discord's API much easier. Much of the information used for the various commands are stored in local JSON files, making them easy to expand with additional facts, jokes, or photos. The bot is hosted on a BisectHosting instance using their Bot Hosting service.
Expanding the Bot
If you would like to develop on the bot yourself, simply clone the repo and provide your own credentials. The main file (rat.js) reads from a .env file for a BOT_TOKEN. This will match the bot token generated by Discord when you register the app via the Discord Developer Portal. Fill in your own token and run npm start to start the bot NOTE: your new bot must be added to your server; the invite link can be generated within the Discord Developer Portal.
Lingue
- English
Recensioni
Accedi — Accedi per scrivere una recensione.
Ancora nessuna recensione — sii il primo a condividere la tua esperienza.
Statistiche di voti
Rilevate su questa directory negli ultimi 30 giorni.
Ultimi 30 giorni
- Voti
Nessun voto qui negli ultimi 30 giorni.