Skip to content

edenai/askyoda-discord-bot

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.


About

Implement Ask Yoda feature into discord as a bot

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages