Skip to content

starkience/cairo_chatbot_discord

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cairo Bot for Discord

This bot sends questions to the Cairo Chatbot (Cairo Chatbot) via its API and sends back an answer in the Discord server.

Example

Example Screenshot

How to Use the Bot

In the Discord channel, use the following command:

!Cairo <your prompt goes here>

How to Implement the Bot in Your Channel

If you want to use the bot for your own Discord server, follow these steps:

  1. Go to the Discord Developer Portal.
  2. Click "New Application" and give your application a name.
  3. Go to the "Bot" tab on the left sidebar.
  4. Copy the TOKEN of your bot.
  5. In your code editor, in the .env-example file, replace <your_discord_token_bot_here> with your bot's token.
  6. Run node index.js.

Installation

Don't forget to install the necessary packages:

npm install discord.js
npm install axios
npm install dotenv

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published