Skip to content

A Discord bot built for hosting tournaments with discord.py and integration of OpenAI API.

Notifications You must be signed in to change notification settings

raaasin/Taco-Bot

Repository files navigation

Rocket League Tournament Discord Bot

A Discord bot designed to facilitate Rocket League tournaments with question-answering capabilities powered by OpenAI API. The bot is also equipped with Discord slash commands and email verification for enhanced user experience.

Table of Contents

Features

  • Conduct Rocket League tournaments within a Discord server.
  • OpenAI-powered question-answering capability based on trained datasets of frequently asked questions and the RLCS rulebook.
  • Utilizes Discord slash commands for seamless and intuitive interaction.
  • Email verification system to ensure secure and authentic participation.
  • Easily customizable and extendable.

Requirements

Installation

  1. Clone this repository to your local machine or server.
git clone https://github.com/raaasin/Taco-Bot
  1. Install the required Python dependencies using pip.
pip install -r requirements.txt
  1. Obtain an OpenAI API key by signing up at the OpenAI website. Follow the API documentation to set up and obtain the necessary credentials.

  2. Set up a MongoDB database or any other database of your choice to store user information and authentication data.

  3. Configure the bot by creating a creds.py file in the project's root directory and fill in the following details:

TOKEN=<your_discord_bot_token>
open=<your_openai_api_key>
application_id=<your_discord_bot_application_id>
  1. Run the bot by executing the main script.
python bot.py

Usage

Once the bot is up and running, invite it to your Discord server using the OAuth2 URL generated for your bot. Ensure that the necessary permissions are granted to the bot for seamless functionality.

Use the provided slash commands to interact with the bot. For example, you can use the /start_tournament command to initiate a new Rocket League tournament or use the /ask_question command to ask a question about the tournament rules.

About

A Discord bot built for hosting tournaments with discord.py and integration of OpenAI API.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages