Hey everyone! I'm curious if it's possible to set up ChatGPT to automatically reply to messages in a Discord channel, almost like a person would. Ideally, it wouldn't have to reply all the time, but just occasionally chime in with comments or answers when needed. I found a GitHub article about a ChatGPT Discord bot that requires a command to invoke it, but I'd prefer a setup where it replies randomly without needing any commands.
4 Answers
While you can't use ChatGPT directly, you can use GPT models via API with Discord webhooks. This allows the bot to receive messages without needing a slash command. However, be cautious, as it could trigger too often in a busy channel. You might want to implement a classification model to decide when it's appropriate for the bot to respond.
Yes, you can definitely create a Discord bot that integrates with ChatGPT! However, you'll need a subscription and an API key. I built a bot that works just like you described, but the language model runs locally on my PC.
You'll likely have to code a custom bot for this, but it's totally possible! For reference, in a Discord server I'm part of called Cat Stand, they have a bot called Cat Police that occasionally joins conversations with AI-generated messages based on chat history.
This sounds almost exactly like what I'm looking for—thanks for the example!
I created something like what you're envisioning! My bot, Birdie, can chat with people, use reactions, and even post gifs. She remembers users and adjusts her responses based on who she's chatting with. If you want to check it out, feel free to join my server!
Oh this is cool! Could you share more details about how you set it up?