Click to add Teo's Bot to server
-
main.py - Runs the Discord bot.
-
bot.py - Contains a Discord bot that listens for messages, checks if they start with "!", calls response handling functions, and sends back the bot's response.
-
responses.py - Contains response handling functions like calling AI functions from ai_response.py. Handles routing messages to the correct response function based on the command.
-
ai_response.py - Contains functions to call the OpenAI APIs for GPT-3 text generation and DALL-E image generation.
To access bot begin messages with !
Cmmands:
- gpt --> accesses ChatGPT through API call and send text response in channel
- ex. !gpt what is the population of Orlando, Florida
- image --> accesses OpenAI's DALL·E through API call and send image in channel
- ex. !image Anakin Skywalker from Star Wars
- future --> sends picture of Future (the bot's profile picture)
- ex. !future