Skip to main content

nonebot_plugin_easyCommand

一个基于NoneBot2的简单的用来扩充命令或添加定时任务的插件

一、概述

1.起始符+"添加命令 标题 内容","删除命令 标题","查看命令","允许命令","结束命令","获取CQ"分达到如其字意的效果

2.添加命令后当接收到命令后会自动匹配命令

3."允许命令","结束命令"默认不开放群无起始符命令白名单,且不存录,为超级管理员游戏做

4.群聊@、白名单、第一个字符为命令起始符且全部匹配(避免响应其他未加锁插件) 匹配回复,私聊不加起始符匹配回复或加且全部匹配

5.起始符+"注册定时 时间 标题 内容" "删除定时 标题"

二、详解

1.添加命令 标题 内容 内容支持图像、表情、转发、文本

2.删除命令 标题 不支持图像类型的标题 第一顺位超管输入"#+-*/真的啦已经确认过啦"删除所有命令

3.查看命令 超管输入命令"查看命令全"查看所有命令、普通用户查看自己写的命令,最长皆为前3-400字符长度 如想要都可以全查自行删除约136行处 and uid in superList

4.允许命令 群聊添加当前群聊或私聊添加当前私聊者到无需前缀命令起始符响应白名单 权限为超管 可自行修改代码剥离允许权限列表为群管可添加

5.结束命令 同上

6.获取CQ 当前聊天者可获取一次返回CQ码的机会,下次消息触发

7.注册定时 时间 标题 内容 时间格式为时.分.秒 遵循corn规则,但表达式仅限于d /d d-d * ,其中d指时间实例如9、/2、10-59、* 内容支持同上支持CQ,都不支持视频CQ

8.删除定时 标题

三、致谢

感谢NoneBot、nonebot_plugin_apscheduler、nonebot_plugin_txt2img及其开发者

Release files for nonebot-plugin-easycommand 1.1.4

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for nonebot-plugin-easycommand 1.1.4
File Size Uploaded
nonebot_plugin_easycommand-1.1.4.tar.gz 8.3 kB Details

Built distribution (wheel)

Table of built distributions (wheels) for nonebot-plugin-easycommand 1.1.4
File Interpreter ABI Platform
nonebot_plugin_easycommand-1.1.4-py3-none-any.whl Python 3 none any Details

Total release size: 17.5 kB

Release files / nonebot_plugin_easycommand-1.1.4.tar.gz

Download URL nonebot_plugin_easycommand-1.1.4.tar.gz
Size 8.3 kB
Tags Source
SHA-256 checksum
How to use checksums
52507c4401744ad2378ef157732b654519a2bc0be9f557486eab259f80d4259f
BLAKE2b-256 checksum
How to use checksums
0f0845339d9f16a663c9cfa28efcfb322bb5a5a239e1fd729ff079f6e3ff78b9
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.10.0 Windows/10

Release files / nonebot_plugin_easycommand-1.1.4-py3-none-any.whl

Download URL nonebot_plugin_easycommand-1.1.4-py3-none-any.whl
Size 9.2 kB
Tags Python 3
SHA-256 checksum
How to use checksums
ce99cca18fe46b1f65317afd5412489cc80d1d730506a2565b39bfafdd7d7c88
BLAKE2b-256 checksum
How to use checksums
5fe593fd5849d23a4229f208b920409446a6bfe6781dafd69c48141a7383d9cc
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via poetry/1.3.1 CPython/3.10.0 Windows/10

Release history Release notifications | RSS feed

This release

1.1.4 This release

2 release files

1.1.3

2 release files

1.1.2

1 release file

1.1.1

1 release file

1.1.0

1 release file

1.0.0

1 release file

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page