-
cookies setting(can use personal Bing Cookies):
/cookies setting [cookies_file]
- Can upload own cookies (get from https://bing.com/). Supports simultaneous uploads.
-
copilot:
/copilot [version] [style] [type]
- A separate thread will be created, if use default version, can generate images while chatting.
- [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, if use default version, can generate images while chatting.
-
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.
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 # 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=
-
Create the
cookies.json
file.- Install the cookie editor extension for Chrome or Firefox.
- Go to bing.com
- Click "Export" on the buttom right.
- Paste your cookies into a file
cookies.json
-
Start run your bot, hosted locally or on a server.
This project exists thanks to all the people who contribute.