TheVal Bot is a Discord bot designed to provide various useful commands and functionalities within a Discord server.
To use TheVal Bot, follow these steps:
- Clone the repository to your local machine.
- Install the required dependencies using
pip install -r requirements.txt
. - Obtain a Discord bot token from the Discord Developer Portal.
- Create a
.env
file in the root directory of the project and add your Discord bot token asDISCORD_TOKEN=<your-token-here>
. - Run the command
docker build --pull --rm -f "dockerfile" -t bot:latest "."
. - Run the command
docker compose -f "docker-compose.yml" up -d --build
.
To deploy TheVal Bot on a virtual machine, follow these steps:
-
Install Docker: Docker is required to containerize and run the bot. Install Docker on your virtual machine by running the following commands:
sudo apt-get update sudo apt-get install -y docker.io
-
Install Docker Compose: Docker Compose is used to define and run multi-container Docker applications. Install Docker Compose by running:
sudo apt-get install -y docker-compose
-
Clone the Repository: Clone TheVal Bot repository to your virtual machine:
git clone https://github.com/TheValll/TheVal-Discord-Bot cd TheVal-Discord-Bot
-
Configure Environment Variables: Create a
.env
file in the root directory of the project and add your Discord bot token asDISCORD_TOKEN=<your-token-here>
. -
Build and Run the Docker Containers: Build and run the Docker containers using the following commands:
docker build --pull --rm -f "dockerfile" -t bot:latest "." docker-compose -f "docker-compose.yml" up -d --build
- Description: Get help with available commands.
- Usage:
/help
- Description: Get TheVal's YouTube channel link.
- Usage:
/youtube
- Description: Get TheVal's Twitch channel link.
- Usage:
/twitch
- Description: Get TheVal's osu! profile link.
- Usage:
/osu
- Description: A tribute to Colproz.
- Usage:
/colproz
- Description: Get the GitHub repository link.
- Usage:
/github
Once the bot is running and added to your Discord server, you can use the commands mentioned above to access various links and information provided by TheVal Bot.
Enjoy using TheVal Bot in your Discord server! If you have any questions