Skip to main content

基于nonebot2的bing-chat软件

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-bing-chat

✨ 一个可以使用新版Bing进行聊天的插件 ✨

license pypi python

📖 介绍

一个可以使用新版Bing进行聊天的插件

目前正在完善更多的设置

💿 安装

使用 nb-cli 安装(推荐) 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-bing-chat
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip install nonebot-plugin-bing-chat

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_bing_chat"]

⚙️ 配置

在 nonebot2 项目的data/BingChat文件中添加`cookies.json(必须)

  • 在浏览器安装 cookie-editor 的插件
  • 打开bing.com(需要魔法)
  • 打开 cookie-editor 插件
  • 点击右下角的 Export 按钮(这会把cookie保存到你的剪切板上)
  • 把你复制道德内容放到 cookies.json 文件里

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
配置项1 配置说明

🎉 使用

指令表

指令 权限 需要@ 范围 说明
chat 所有人 私聊/群聊 与Bing进行对话
刷新列表 所有人 私聊/群聊 新建一个对话

🌸 致谢

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot-plugin-bing-chat-0.1.2.tar.gz (17.0 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_bing_chat-0.1.2-py3-none-any.whl (17.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page