discord-multipurpose-bot/README.md

54 lines
2.1 KiB
Markdown
Raw Normal View History

# Discord Multipurpose Bot
2024-08-31 02:34:09 +01:00
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.
2024-08-31 02:34:09 +01:00
## 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.
2024-09-25 23:26:50 +01:00
- **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.
2024-09-25 23:26:50 +01:00
- **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.
2024-08-31 02:34:09 +01:00
### Installation
1. **Clone the Repository**
```sh
2024-09-05 18:52:44 +01:00
git clone git@github.com:aydenjahola/discord-multipurpose-bot.git
```
```sh
2024-09-05 18:52:44 +01:00
cd discord-multipurpose-bot
2024-08-31 02:34:09 +01:00
```
2. **Install Dependencies**
```sh
npm install
```
3. **Set Up Environment Variables**
2024-09-08 20:52:49 +01:00
rename the [`.env.example`](./.env.example) to `.env` and fill in the required environments
2024-08-31 02:34:09 +01:00
4. **Run the Bot**
```sh
node bot.js
```
2024-09-25 23:26:50 +01:00
## Setup
2024-09-25 23:26:50 +01:00
make sure to run `/setup` or otherwise the verification process wont work.
2024-09-25 23:26:50 +01:00
## Usage
2024-09-25 23:26:50 +01:00
run `/help` command to get list of all avaiable commands, or visit the [commands](./commands/) directory to view them.