discord-multipurpose-bot/README.md
2024-09-25 23:26:50 +01:00

53 lines
2.1 KiB
Markdown

# Discord Multipurpose Bot
Welcome to the **Discord Multipurpose Bot**! This bot manages user verification for Discord servers through email authentication, includes a fun trivia game feature, and provides role management and leaderboard tracking functionalities.
## Features
- **Email Verification**: Users receive a verification code via email and must enter it in Discord to verify their account.
- **Role Management**: Automatically assigns a specific role to users once they have been verified.
- **Trivia Game**: Play a video game-themed trivia game with various categories such as Anime & Manga, Computers, Board Games, Comics, Cartoons & Animations, Film, General Knowledge, Science, Animals, Music, History, Mythology, and Geography & Nature.
- **Leaderboard**: Displays the top players based on correct trivia answers.
- **User Information**: Retrieve information about a specific user or yourself, including roles and account details.
- **Warning System**: Issue warnings to users with a reason logged for future reference.
- **Message Purge**: Moderators can delete messages from a channel.
- **Ping and Uptime**: Check the bot's latency and how long it has been running.
- **Admin Log**: Admins can review logs of verification attempts and trivia games in a designated channel.
- **Customizable Settings**: Configure email domains, channels, roles, and more to suit your server.
- **Help Command**: List all available commands and their descriptions for easy reference.
### Installation
1. **Clone the Repository**
```sh
git clone git@github.com:aydenjahola/discord-multipurpose-bot.git
```
```sh
cd discord-multipurpose-bot
```
2. **Install Dependencies**
```sh
npm install
```
3. **Set Up Environment Variables**
rename the [`.env.example`](./.env.example) to `.env` and fill in the required environments
4. **Run the Bot**
```sh
node bot.js
```
## Setup
make sure to run `/setup` or otherwise the verification process wont work.
## Usage
run `/help` command to get list of all avaiable commands, or visit the [commands](./commands/) directory to view them.