JS AI Discord Bot

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

Node.js AI & Chatbots 作者:DodidoYT
部署這個範本

簡介

README.md

目錄
在 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"

變數

部署時由你填寫,它們會成為部署的環境變數。

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

部署方式

  1. 1 開啟部署頁面為你的部署命名,確認時再登入即可。
  2. 2 填寫變數範本要求的值,會存成部署的環境變數。
  3. 3 確認你的資源資源從方案的共用資源池中分配,然後啟動。每個帳號都從免費方案開始。

登入後即可檢舉

檢舉會綁定帳號,以防止濫用。

登入