

env to FalseĪ starting prompt would be invoked when the bot is first started or reset Have a good chat! Optional: Disable logging docker ps to see the list of running services.Inspect whether the bot works well docker logs -t chatgpt-discord-bot Stop the bot: Navigate to the directory where you installed the ChatGPT Discord botīuild the Docker image & Run the Docker container docker compose up -d env under OPENAI_PASSWORDĬopy the value for _ssion-token from cookies and paste it into. Step 2: Website ChatGPT authentication - 2 approaches Email/Password authentication (Not supported for Google/Microsoft accounts) Step 2: Official API authentication Geanerate an OpenAI API key Invite your bot to your server via OAuth2 URL Generator The bot will easily be triggered in replyall mode, which could cause program failuresīuild a Discord bot under the application

Replyall mode the bot will reply to all messages in the channel without using slash commands ( /chat will also be unavailable)

Private mode the bot's reply can only be seen by the person who used the command Public mode (default) the bot directly reply on the channel Using certain personas may generate vulgar or disturbing content. reset Clear ChatGPT conversation history replyall ChatGPT switch between replyAll mode and default mode
