Skip to content

Latest commit

 

History

History
24 lines (21 loc) · 1 KB

Discovery.md

File metadata and controls

24 lines (21 loc) · 1 KB
app_name title tagline theme_color git homepage
ChatGPT
ChatGPT Serverless Discord Bot
Your personal ChatGPT Discord bot.
#74aa9c

With this, you can run your own instance of a ChatGPT Discord bot.

Installation steps:

  1. First install the app.
  2. Enter the required environment variables:
    • DISCORD_APPLICATION_ID - Your discord app's ID.
    • DISCORD_PUBLIC_KEY - Your discord app's public key.
    • DISCORD_BOT_TOKEN - Your bot's token.
    • OPENAI_API_KEY - An API key from OpenAI's API.
    • SYNC_PASSWORD - A password you set to sync commands.
  3. You can overwrite CHATGPT_SYSTEM_MESSAGE to anything you want to transform ChatGPT's personality.
  4. Set the Interactions Endpoint URL in your discord app's general information to <micro_url>/bot/interactions.
  5. Visit <micro_url>/bot/api/dash to register the slash commands for the first time.

Run /ping to make sure it's working! Enjoy!