JS AI Discord Bot
Discord bot that uses Groq api and you can type instructions for the bot.
このテンプレートをデプロイ GitHubで開く
概要
README.md
目次
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"
変数
デプロイ時に入力します。入力した値は、デプロイの環境変数になります。
TOKENBot's token In discord developer portal 必須API_KEYGroq's api key In groq's api key's 必須CHATBOT_CHANNEL_IDChatbot's channel id In discord 必須CHATBOT_INSTRUCTIONSChatbot instructions 必須
デプロイの手順
- 1 デプロイページを開くデプロイに名前を付けます。確定するときにログインします。
- 2 変数を入力テンプレートが求める値を入力します。デプロイの環境変数として保存されます。
- 3 リソースを確認プランの共有プールから割り当てられ、そのまま起動します。どのアカウントも無料から始められます。