Skip to main content

nonebot_plugin_tuling

Project description

nonebot_plugin_tuling

✨ NoneBot 图灵机器人 ✨

license pypi python

📖 介绍

接入图灵机器人做群自动聊天。

💿 安装

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

打开 nonebot2 项目的 bot.py 文件, 在其中写入

nonebot.load_plugin("nonebot_plugin_tuling")
从 github 安装 在 nonebot2 项目的插件目录下, 打开命令行, 输入以下命令克隆此储存库
git clone https://github.com/Matrix-King-Studio/nonebot_plugin_tuling.git

打开 nonebot2 项目的 bot.py 文件, 在其中写入

nonebot.load_plugin("src.plugins.nonebot_plugin_tuling")

⚙️ 配置

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

配置项 必填 默认值 说明
config_path 插件安装目录 分群配置
tu_ling_apikey 图灵机器人创建一个机器人,获取apikey,支持列表
# 图灵机器人
tu_ling_apikey=["*******", "*******", "*******"]

🎉 使用

指令表

指令 权限 需要@ 范围
/开启闲聊 群员 群聊
/关闭闲聊 群员 群聊

效果图

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_tuling-0.0.16.tar.gz (5.0 kB view details)

Uploaded Source

Built Distribution

nonebot_plugin_tuling-0.0.16-py3-none-any.whl (6.1 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_tuling-0.0.16.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_tuling-0.0.16.tar.gz
Algorithm Hash digest
SHA256 17d341b45319ad57ae62b1502973f357f16c77d62fe46816f997bf754437a456
MD5 265a6a791ceadcb54e6744039f177643
BLAKE2b-256 51d10060af03a6623a7cede65bd4827e8f4972af7e6d3f13843272e3da603d67

See more details on using hashes here.

File details

Details for the file nonebot_plugin_tuling-0.0.16-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_tuling-0.0.16-py3-none-any.whl
Algorithm Hash digest
SHA256 8e247f2ba245a9d33016619bc156d5ab44bfff9cee1521c708fb379796026a23
MD5 415aac7f88a66d37ec7d3b925a98e36a
BLAKE2b-256 7dae9f0b283e7c44fc5ae2b33f1555c06443f284b5a7b4c23914429797806da5

See more details on using hashes here.

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