Skip to main content

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

Project description

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及其开发者

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_easycommand-1.1.4.tar.gz (8.3 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_easycommand-1.1.4-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_easycommand-1.1.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_easycommand-1.1.4.tar.gz
  • Upload date:
  • Size: 8.3 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.3.1 CPython/3.10.0 Windows/10

File hashes

Hashes for nonebot_plugin_easycommand-1.1.4.tar.gz
Algorithm Hash digest
SHA256 52507c4401744ad2378ef157732b654519a2bc0be9f557486eab259f80d4259f
MD5 74e8f973306833b4d9ad84853b131bdf
BLAKE2b-256 0f0845339d9f16a663c9cfa28efcfb322bb5a5a239e1fd729ff079f6e3ff78b9

See more details on using hashes here.

File details

Details for the file nonebot_plugin_easycommand-1.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_easycommand-1.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 ce99cca18fe46b1f65317afd5412489cc80d1d730506a2565b39bfafdd7d7c88
MD5 a161c259fb283f6d329e77a94eedae6b
BLAKE2b-256 5fe593fd5849d23a4229f208b920409446a6bfe6781dafd69c48141a7383d9cc

See more details on using hashes here.

Supported by

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