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.3.tar.gz (8.4 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.3-py3-none-any.whl (9.2 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_easycommand-1.1.3.tar.gz
  • Upload date:
  • Size: 8.4 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.3.tar.gz
Algorithm Hash digest
SHA256 8138282e8f9031c90ad31c46df7935b4e998d159eb05bd0a2b71792fcfa063f2
MD5 19007feda6d30b751aaffeb52aa214bf
BLAKE2b-256 ed135c05a4363fbfb15b590f33e6e0a7ef84d6f167a5ee47f6987f596d6c5c0e

See more details on using hashes here.

File details

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

File metadata

File hashes

Hashes for nonebot_plugin_easycommand-1.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 3f001483a4ab390c320e0dde8759f23a63767d32760acb0c2f4d152fc4da4dd4
MD5 8adbff18a95d4a4a1e5101bf30abe75f
BLAKE2b-256 52aa4c5654bbcc70a3fac90dbde65899e11ff25a974f29d9b79d9725f8f6b254

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