Discordbot aka Botje
A discord bot made for myself and friends. This bot was built entirely for my own entertainment, and is not intended for public use. Botje was first created on Feb 6, 2019. If you're interested in creating your own private Discord bot for fun, feel free to take a look at the code on my GitHub repository. However, please note that this bot is not intended for public use, and I cannot provide support for any issues you may encounter.
Features
- Replies to messages based on keywords found in messages.
- Makes statistics on which words, emotes are used by users.
- Backing up a server's custom emotes
- Showing youtube videos, weather data or reddit links via their API based on user requests.
- Fun games like Hangman
- Moderation tools for admin users
Stack used
- Node.js - body of the bot
- Discord.js - interface to discord API
- PostgreSQL - the new database from april 2023 onward
- Express - webserver for drawing
- Pug - templating web-pages
- Winston - logging and debugging
- jest - used for testing
- eslint - used for code neatness
- Sqlite - used from feb 2019 - april 2023
License
You are free to use, modify, and distribute the code for any purpose, as long as you comply with the terms of the AGPL. See the LICENSE file for more details.