JS AI Discord Bot

Discord bot that uses Groq api and you can type instructions for the bot.

Node.js AI & Chatbots by DodidoYT
Deploy this template

About

README.md

Contents
Open on GitHub

JS-AI-Discord-bot

And now do steps under

1.

Open .env file

2.

In "TOKEN" type your bot's token

3.

In "CLIENT_ID" type bot's ID

4.

In "API_KEY" type Groq's api key

5.

In "CHATBOT_CHANNEL_ID" type chatbot channel's ID

6.

In "CHATBOT_INSTRUCTIONS" type chatbot's instructions

7.

In console type "node src/index.js"

Variables

You fill these in when you deploy. They become environment variables of your deployment.

  • TOKEN Bot's token In discord developer portal required
  • API_KEY Groq's api key In groq's api key's required
  • CHATBOT_CHANNEL_ID Chatbot's channel id In discord required
  • CHATBOT_INSTRUCTIONS Chatbot instructions required

How to deploy it

  1. 1 Open the deploy pageName your deployment. You sign in when you confirm.
  2. 2 Fill in its variablesThe values the template asks for, stored as environment variables of your deployment.
  3. 3 Check your resourcesIt draws from your plan's shared pool, then launches. Every account starts free.

Log in to report

Reports are tied to an account to prevent abuse.

Log in