No project description provided
Project description
📖 介绍
登录塔吉多账号,并且每日定时进行塔吉多签到(包括APP签到和APP内幻塔游戏签到)
💿 安装
使用 nb-cli 安装(推荐!)
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-taygedo-helper
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-taygedo-helper
pdm
pdm add nonebot-plugin-taygedo-helper
poetry
poetry add nonebot-plugin-taygedo-helper
conda
conda install nonebot-plugin-taygedo-helper
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_taygedo-helper"]
⚙️ 配置
在 nonebot2 项目的.env文件中添加下表中的必填配置
| 配置项 | 必填 | 默认值 | 说明 |
|---|---|---|---|
| taygedo_helper_auto_sign_time | 否 | 08:30 | 每日定时签到时间 |
🎉 使用
更新数据模型 使用必看!!!!!
本插件使用了官方推荐的nonebot-plugin-orm插件操作数据库,安装插件或更新插件版本后,在启动机器人前,都需要执行此命令。
nb orm upgrade
手动执行下列命令检查数据库模式是否与模型定义一致。机器人启动前也会自动运行此命令,并在检查失败时阻止启动。
nb orm check
看到没有检测到新的升级操作字样时,表明数据库模型已经成功创建或更新,可以启动机器人
指令表
| 指令 | 权限 | 需要@ | 范围 | 说明 |
|---|---|---|---|---|
| 塔吉多登录 | 群员 | 否 | 群聊 | 塔吉多登录,按照提示登录,可选填写手机号,登录后自动签到一次并开启定时签到 |
| 塔吉多签到 | 群员 | 否 | 群聊 | 手动给自己签到 |
| 塔吉多群签到 | SUPERUSER | 否 | 群聊 | 手动给群内所有已登录群员签到 |
TODO
- 暂无,欢迎提交issue
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file nonebot_plugin_taygedo_helper-0.3.0.tar.gz.
File metadata
- Download URL: nonebot_plugin_taygedo_helper-0.3.0.tar.gz
- Upload date:
- Size: 11.6 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
d4147cef2542c82828e1ab5a3a1247ab70823ed362234f1b2b17c5b4661e3b4b
|
|
| MD5 |
6fb384bab5f438b0c4036cb9640a37a3
|
|
| BLAKE2b-256 |
31b249db35ef967124690cf66c6d0f1ae2f46f717cc4f17c50cd96eaf269349e
|
File details
Details for the file nonebot_plugin_taygedo_helper-0.3.0-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_taygedo_helper-0.3.0-py3-none-any.whl
- Upload date:
- Size: 13.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.1.0 CPython/3.13.7
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
6732760a2c43a75c217ad9ce835a442d3d56dc77f0dc6baafb052e43a98ca695
|
|
| MD5 |
4f9f19d29293a6ea1a5dd78c16872ae0
|
|
| BLAKE2b-256 |
49de506c9f03355114734ee1e7ea5737842385421714d6b46819572572cfe448
|