Skip to content

Latest commit

 

History

History
47 lines (32 loc) · 1.51 KB

README.md

File metadata and controls

47 lines (32 loc) · 1.51 KB

Custom Eden AI Chat Bot into a Discord Bot


The projet

This project is to implement a Custom ChatBot project into a Discord Bot

Packages

pip install nextcord
pip install decouple
pip install requests

The structure

askyoda-discord-bot/
├── README.md  # This file
├── cogs/       # Directory for bot commands and functionalities
│   ├── Admin.py  # File containing all the commands for Admin Role
│   ├── Manager.py  # File containing all the commands for Manager Role
│   └── User.py  # File containing all the commands for User Role
├── .env # You should create this file in local to store your keys
├── yoda.py # File containing all the api calls to the Eden AI Custom Bot feature
└── main.py     # Entry point for running the bot

Setup

Go to the Eden Ai plateform and put your api key in the .env file as EDENAI_KEY

Go to the Discord Developer portal and copy the Token of your Bot and paste it to the .env file as TOKEN

Launch the BOT

Run this command to launch the bot an make the bot available

py main.py

Now you have your own Custom ChatBot into your discord Server. You can customized more commands or features. If you want to go further in the explanation you can watch our Youtube Tutorial or check our articles about the subjects.