This is a Discord bot that uses artificial intelligence: Chai to answer questions in a specific channel.
Note: The chat feature of the bot only works in a specific channel in Discord. If you want to add Multi-server you can contact me on discord NoBody#9666
.
To use this bot, you must first have Node.js installed on your computer. You can download HERE
Once you have Node.js installed, you must clone this repository to your computer by running the following command in the terminal:
git clone https://github.com/NoBody-UU/AI-discord-bot
cd AI-discord-bot
Next, run the following command to install the necessary dependencies:
npm install
Rename the file .env.example to .env and fill in the values with the necessary information. The credentials for the AI chat can be obtained at the following link: https://chai.ml
To run the bot, use the following command in the terminal:
node .
I hope you enjoy using the bot and feel free to reach out to me if you need any help or have any suggestions.
¡Please leave a ⭐ to help the project |
---|