Warning
-
/chat [message]
Chat with ChatGPT -
/draw [prompt]
Generate an image with the Dalle2 model -
/private
Switches to private mode (Only user who chats can see the answer) -
/public
Switches to public mode (Default Mode. Everyone can see the answers) -
/replyall
Switches between replyall mode and default mode (replyall mode do not require slash command) -
/reset
It wipes ChatGPT entire conversation history -
/chat-model [type]
Switches between Official and Unofficial ChatGPT modelsOFFICIAL-GPT-3.5
: GPT-3.5 modelOFFICIAL-GPT-4.0
: GPT-4.0 model (make sure your account can access gpt-4 model)Website ChatGPT-3.5
: Website ChatGPT-3.5 model (Unofficial)Website ChatGPT-4.0
: Website ChatGPT-4.0 model (Unofficial)(only available if you own a Plus account)
-
/switchpersona [persona]
Switch between optional chatGPT personasrandom
: Picks a random personachatGPT
: Standard ChatGPT modedan
: Dan Mode 11.0, the Infamous Do Anything Now modesda
: Superior DAN has even more freedom in DAN Modeconfidant
: Evil Confidant, evil trusted confidantbased
: BasedGPT v2, sexy gptoppo
: OPPO says exact opposite of what chatGPT would saydev
: Developer Mode, v2 Developer mode enabled
Warning: On the
replyall
mode, the bot will be constantly listening to your chat and will keep replying to it. If you intend to use such mode, be advised to restrict the bot to a specific channel only.
- Go to https://discord.com/developers/applications create an application
- Build a Discord bot under the application
- Get the token from bot setting
- Store the token to
.env
under theDISCORD_BOT_TOKEN
- Turn MESSAGE CONTENT INTENT
ON
- Invite your bot to your server via OAuth2 URL Generator
-
Go to https://platform.openai.com/account/api-keys and login in your account;
-
Click to create new secret key and copy it;
-
Paste your API key to
.env
underOPENAI_API_KEY
-
Procede to Step 3
-
Create an account on https://chat.openai.com/chat
-
Type your email into
.env
file underOPENAI_EMAIL
-
Type your password into
.env
file underOPENAI_PASSWORD
-
You may proceed to step 3
-
Go to https://chat.openai.com/chat and log in your account
-
Open console with
F12
-
Open
Application
tab > Cookies -
Copy the value for
__Secure-next-auth.session-token
from cookies and paste it in the.env
file underSESSION_TOKEN
-
You may proceed to step 3
-
Download Python (https://www.python.org/ftp/python/3.11.2/python-3.11.2-amd64.exe);
-
Install Python (Make sure you tick
Add python.exe to PATH
and in the end selectDisable path lenght limit
); -
Open the bot folder and execute the
INSTALL.bat
file; -
Right click on the
start_bot.bat
file and send it to Desktop as to create a shortcut; -
Execute the shortcut and bot will finally turn on.
Warning: If the execution the
INSTALL.bat
orstart_bot.bat
files won't work, try uninstalling and installing again Python.
Aditional Note: If you find any problems within the bot itself, you may contact me through email: [email protected] or through my Discord tag Alamaos#4363
-
As the program starts, the initial prompt will be sent to the ChatGPT OpenAI which will send an initial message one the bot is activated or reseted.
-
The initial prompt allows you to verify if the services of OpenAI are Online.
-
You can set it up by modifying the content in
prompt.txt
file into something else as you'd like. -
If you don't want such prompt, you may clear the whole text and save it.
-
In order to have such prompt sent to your Discord server, you'll need to:
- Activate developer mode on Discord, through
User Settings
,Advanced
and tick onDeveloper Mode
. - Right-click the channel you would want to receive the message, select
Copy ID
- Paste it into the
.env
file underDISCORD_CHANNEL_ID
- Activate developer mode on Discord, through