This is a Discord bot designed to manage a football tournament. The bot allows users to update the tournament table with match results and display the current standings.
- Update Table: Update the tournament table with match results.
- Display Table: Display the current standings of the tournament.
Updates the tournament table with the results of a match.
Displays the current standings of the tournament.
-
Clone the repository:
git clone <repository-url> cd PesBot
-
Install the dependencies:
npm install
-
Create a
config.jsonfile in the root directory with your bot token, client ID, and guild ID:{ "token": "YOUR_BOT_TOKEN", "clientId": "YOUR_CLIENT_ID", "guildId": "YOUR_GUILD_ID" }
After setting up your environment variables and installing the dependencies, you can start the bot using:
node index.js