Skip to main content

适用于NoneBot2的每日提醒小助手

Project description

nonebot

nonebot-plugin-daily-task

✨ NoneBot 每日任务插件 ✨

license pypi python

💿 安装

使用 nb-cli 安装
nb plugin install nonebot-plugin-daily-task
pip
pip install nonebot-plugin-daily-task

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

plugins = ["nonebot_plugin_daily_task"]

⚙️ 配置

在 插件 的config.py文件中修改下表中的配置

配置项 类型 默认值 说明
daily_task_bot_id str Bot QQ
daily_task_db_name str daily 数据库名称
daily_task_start_hour int 10 每日任务提醒开始时间
daily_task_end_hour int 23 每日任务提醒结束时间
daily_task_interval_hour int 2 每日任务提醒间隔时间
daily_task_priority int 10 每日任务提醒优先级
daily_task_enabled bool False 是否启用每日任务提醒

🎉 使用nonebot-plugin-daily-task

指令表

指令 功能 权限
daily 插件简介 所有人
daily.help/h 查看插件帮助信息 所有人
daily.add/a 添加每日任务 所有人
daily.del/d 删除每日任务 所有人
daily.modify/m 修改每日任务 所有人
daily.query/q 查询每日任务 所有人
daily.finish/f 完成每日任务 所有人
daily.start/s 启用每日任务 SUPERUSER
daily.stop/st 停用每日任务 SUPERUSER

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_daily_task-0.1.1.tar.gz (7.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_daily_task-0.1.1-py3-none-any.whl (8.3 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