discord-multipurpose-bot/README.md

66 lines
2.8 KiB
Markdown
Raw Normal View History

# Discord Multipurpose Bot
2024-08-31 02:34:09 +01:00
2024-10-15 11:30:25 +01:00
---
2024-10-15 11:26:21 +01:00
## IMPORTANT: PLEASE READ BEFORE DEPLOYING
This bot includes game statistics functionality (currently supports Valorant, CS2 and TFT). Unfortunately, due to [Tracker.gg](https://tracker.gg/) no longer providing API keys, I have created my own API to retrieve the data. Currently, this API is not publicly available. If you wish to use the bot's game stats commands, please feel free to reach out to me via my [email](mailto:info@aydenjahola.com).
2024-10-15 11:26:55 +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.
2024-10-29 13:40:12 +00:00
## Dashboard (WIP)
I am currently working on a dashboard to manage the bot as well, currently this is in the `dashboard` branch and still work in progress. if you know how to build discord bot dashboards then please feel free to contribute