重要的
由於微軟將Cookie到期時間從一周更改為僅3天,並且使觸發驗證碼挑戰變得更加容易,因此使用不再方便。除了生成圖像之外,如果您只想與AI聊天,我建議使用Gemini Discord Bot,該機器人更友好。
2024/6/11:Dalle-3(非官方)已固定。
2024/6/3:Dalle-3(非官方)的已知問題。
2024/4/21:用副駕駛支持Suno插件。
2024/3/30:支持Dalle-3(非官方),從https://dalle.feiyuyu.net/dashboard獲取API鍵。
2024/3/5:聊天時可以生成圖像。
將為每個用戶創建一個單獨的聊天。
cookie設置(設置用於使用個人bing cookie): /cookies setting [cookies_file]
非官方的dalle-3 API密鑰設置(用於使用個人非官方的Dalle-3 API密鑰設置,可以從https://dalle.feiyuyu.net/dashboard獲得): /dalle3 setting
Copilot: /copilot [version] [style] [type]
default可以與Copilot聊天,與悉尼的jailbreak聊天,但目前尚未支持jailbreak圖像上傳。creative , balanced和precise 。public或private的選項。圖像創建者: /create image [service][prompt]
重置對話: /reset conversation
與Slash命令相同的功能,但這將回复所有用戶消息。
如果僅提及機器人,您將獲得設置的下拉列表。
機器人所有者設置。
!unload [file_name_in_cogs_folder] :從指定文件禁用命令。
!load [file_name_in_cogs_folder] :從指定文件啟用命令。
!clean :空discord_bot.log文件。
!getLog :get discord_bot.log文件。實時跟踪機器人的操作狀態。
!upload [.txt_file] :與/cookies setting相同,但對於默認cookie。
pip install -r requirements.txt
.env.dev重命名為.env ,然後將其打開並進行編輯。 警告
AUTO_COOKIES功能仍在測試中,因此可能不會對所有人都有效,如果您想與Bing_cookies一起使用,則需要首先設置Bing_cookies才能正常工作。
DISCORD_BOT_TOKEN =
# (Optional) If you are run with Replit, it is recommended to configure cookies using this parameter instead of using cookies.json
BING_COOKIES =
# (Experimental) Automatically obtain Bing cookies and regular updates
AUTO_COOKIES = False # False/True
# (Optional) proxy
PROXY =
# Timeout for BingImageCreator
IMAGE_TIMEOUT = 300
IMAGE_MAX_CREATE_SEC = 300
# Set unofficial DALLE-3 api key, api key can get from https://dalle.feiyuyu.net/dashboard
DALLE3_UNOFFICIAL_APIKEY =
# (Optional) Allow mention bot only in specific channel.
MENTION_CHANNEL_ID = 1227670969702754857
# (Optional) Allow each commands in some channels.
# specific channel(s) for `/cookies setting`
COOKIES_SETTING_CHANNEL_ID = 1227670969702754857,1227327094070254857
# specific channel(s) for `/dalle3 setting`
DALLE3_SETTING_CHANNEL_ID = 122767096970275483
# specific channel(s) for `/copilot`
CHAT_CHANNEL_ID =
# specific channel(s) for `/create image`
CREATE_IMAGE_CHANNEL_ID =
# specific channel(s) for `/reset conversation`
RESET_CHAT_CHANNEL_ID =
# specific channel(s) for `/help`
HELP_CMD_CHANNEL_ID =創建cookies.json文件。 (如果您已經設置了bing_cookies或在.env文件中將auto_cookies設置為true,請跳過此步驟!)
cookies.json中開始運行您的機器人。
python bot . py ReedgeGpt -https://github.com/integration-automation/reedgegpt
悉尼 - https://github.com/juzeon/sydneyqt/tree/v1
free-dall-e-proxy-https://github.com/feiyuyu0503/free-dall-e-proxy
由於所有貢獻的人,該項目的存在。