Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/jhonatanit/my_ai_bot

Develop a chatbot in Discord using ChatGPT
https://github.com/jhonatanit/my_ai_bot

bot chatgpt discord flask python

Last synced: about 1 month ago
JSON representation

Develop a chatbot in Discord using ChatGPT

Awesome Lists containing this project

README

        


# ChatGPT Bot - Discord
Developing a ChatGPT Bot in Discord as an assistant bot with CD using GitHub Actions Pipelines and an Azure App Service.

![enter image description here](https://i.imgur.com/0NI3IRz.png)

This project was developed following this tutorial in Youtube:
https://www.youtube.com/watch?v=wdgVv4UP08c&ab_channel=Amigoscode

## Requirements
1. Generate a Discord token valid in Discord Developer
Link: https://discord.com/developers
![enter image description here](https://i.imgur.com/9c8oKrV.png)

2. Generate an API key in OpenAI
Link: https://platform.openai.com/overview
![enter image description here](https://i.imgur.com/ne27u7h.png)

## Run Flask Server

Use the following command to start your flask server:

FLASK_APP=run:app flask run