-
cookies setting(can use personal Bing Cookies):
/cookies setting [cookies_file] [auth_cookie]
- Can upload own cookies (get from https://copilot.microsoft.com/) or auth_cookie (get from https://bing.com/, and copy the value from the _U). Supports simultaneous uploads.
- Can upload own cookies (get from https://copilot.microsoft.com/) or auth_cookie (get from https://bing.com/, and copy the value from the _U). Supports simultaneous uploads.
-
copilot:
/copilot [version] [style] [type]
- A separate thread will be created.
- [version]:
default
can chat with Copilot,jailbreak
chat with Sydney, butjailbreak
image uploads are not currently supported. - [style]:Have 3 conversation style can choose,
creative
、balanced
andprecise
. - [type]:Options for thread type,
public
orprivate
.
- [version]:
- A separate thread will be created.
-
bing image creator:
/create image [prompt]
-
reset conversation:
/reset conversation
-
!unload [file_name_in_cogs_folder]
: Disable command from the specified file. -
!load [file_name_in_cogs_folder]
: Enable the command from the specified file. -
!clean
: Empty discord_bot.log file. -
!getLog
: Get discord_bot.log file. Real-time tracking of the bot's operating status. -
!upload [.txt_file]
: Same as/cookies setting
, but for default cookies and auth_cookie.
pip install -r requirements.txt
-
Rename the file
.env.dev
to.env
, then open it and edit it.# input your Discord bot token DISCORD_BOT_TOKEN= IMAGE_TIMEOUT=300 IMAGE_MAX_CREATE_SEC=300 # Get from https://bing.com/, and copy the value from the _U, not necessary to set. AUTH_COOKIE= # Allow mention bot only in specific channel, if you don't set it, just default to all channels. MENTION_CHANNEL_ID= # Allow each commands only in specific channel, if you don't set it, just default to all channels. # specific channel for /cookies setting SETTING_CHANNEL_ID= # specific channel for /copilot CHAT_CHANNEL_ID= # specific channel for /create image CREATE_IMAGE_CHANNEL_ID= # specific channel for /reset conversation RESET_CHAT_CHANNEL_ID= # specific channel for /help HELP_CMD_CHANNEL_ID=
-
It is not necessary to create the
cookies.json
file, but if you do, there will be more conversation.- Install the cookie editor extension for Chrome or Firefox.
- Go to copilot.microsoft.com
- Click "Export" on the bottom right.
- Paste your cookies into a file
cookies.json
-
Start run your bot, hosted locally or on a server.
-> Recommended Free Servers: fly.io
-
ReEdgeGPT - https://github.com/Integration-Automation/ReEdgeGPT
-
Sydney - https://github.com/juzeon/SydneyQt/tree/v1
This project exists thanks to all the people who contribute.