GPT Discord Bot is the original Discord AI bot written in JavaScript, using the Discord.js V14 library powered by OpenAI's models. It has different features such as answering to all of your questions or draw your imaginations and even translate your prompts from any language to any other language you want and also an configurable Auto Moderation system powered by AI which watch all of your server messages (if you want, you can turn it off/on) and report flagged messages to Admins and they can moderate it and other features which you can see example in Screenshots!
- Discord Bot Token Guide
1.1. Enable "Message Content Intent" and "Server Members Intent" in Discord Developer Portal - OpenAI API Key
- Node.js 16.9.0 or higher
Go to config.json
in configs
folder and fill out the values:
{
"Prefix": "Put anything you want as prefix",
"MainColor": "Put any #HexCode you want for embeds color",
"ErrorColor": "Put any #HexCode you want for embeds color when there is an error",
"ClientID": "Put your Bot ID/Client ID here",
"Token": "Put your Bot Token here",
"OpenAIapiKey": "Put your Open AI API Key here"
}
and if you want to use moderation model fill and config moderation.js
in configs
folder (Information on how to configure it is available in the file itself)
Open your terminal and install required packages with
npm install
After installation finishes run node register.js
to deploy slash commands and then run node index.js
in terminal to start the bot.
/Ask
/ !Ask
: Answers your questions!
/Imagine
/ !Imagine
: Draw your imaginations!
/Translate
/ !Translate
: Translate your texts in any language to any language you want
Auto Moderation
You can support me by donating if you like the project!
Only available for Iranians :(
Made with โค๏ธ and JavaScript, Don't Forget to โญ