用于每日定时签到森空岛明日方舟的Nonebot插件
Project description
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-skland-arksign
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-skland-arksign
pdm
pdm add nonebot-plugin-skland-arksign
poetry
poetry add nonebot-plugin-skland-arksign
conda
conda install nonebot-plugin-skland-arksign
打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入
plugins = ["nonebot_plugin_skland_arksign"]
🎉 使用
设置是否允许私信用户以上的对话模型注册插件
在bot文件夹下的.env.dev文件中追加
skland_arksign_allow_group=True
这将允许群组等私信用户以上的对话模型注册模型而不会警告 请在私聊中使用 字样
新增账号
森空岛/skl/skd 舟游戏ID [森空岛token(若在群聊中使用请不要直接输入该参数)]
获取Token
-
登录森空岛
-
访问这个网址
返回如下信息
{ "code": 0, "data": { "content": "<Token>" }, "msg": "接口会返回您的鹰角网络通行证账号的登录凭证,此凭证可以用于鹰角网络账号系统校验您登录的有效性。泄露登录凭证属于极度危险操作,为了您的账号安全,请勿将此凭证以任何形式告知他人!" }
-
将
<Token>填入命令中
例子: "content": "1145141919810" 则命令为
森空岛 你的游戏UID 1145141919810
私信补充token
森空岛.群token/skl.group_add_token/skd.group_add_token 森空岛token
删除账号
森空岛.del/skl.del/skd.del 舟游戏ID
注意:非超级用户只可删除自己绑定的账号,超级用户可以删除bot数据库内所有账号
🤗 致谢
xxyz30/skyland-auto-sign(Github/Gitee)、Yanstory/skland-checkin-ghaction、Maojuan-lang/SenKongDao:感谢以上项目提供的参考!AzideCupric:感谢大佬的技术支持!orzhe0119/nonebot-plugin-datastore:超好用的数据存储插件!MountainDash/nonebot-plugin-send-anything-anywhere:峯驰物流部门的全能转接信使!noneplugin/nonebot-plugin-session:全能的账单会话模型管理员!
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_skland_arksign-0.4.3.tar.gz.
File metadata
- Download URL: nonebot_plugin_skland_arksign-0.4.3.tar.gz
- Upload date:
- Size: 11.8 kB
- Tags: Source
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.9.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b65771a78929491c5ea5a13c58e33e623f421d5f7d9d6c085f28ee0c2195ac5d
|
|
| MD5 |
c65677cd3f843d7028c596205953237f
|
|
| BLAKE2b-256 |
83a5e446f4a536d83b41344e6fca09fb78ba77179ed429db5cea620eb13cf0c9
|
File details
Details for the file nonebot_plugin_skland_arksign-0.4.3-py3-none-any.whl.
File metadata
- Download URL: nonebot_plugin_skland_arksign-0.4.3-py3-none-any.whl
- Upload date:
- Size: 13.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: pdm/2.9.2 CPython/3.10.12
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
31f75becb59846150859fc6a2e0a2a8d75ff03e485021db6cf6a518c6371c8b7
|
|
| MD5 |
0cc11dc3aeea09938264ffe01ec2457c
|
|
| BLAKE2b-256 |
17e1a968c902769a725798150da0f9c3f89663da6ba3d1bacd8fc14d5fbedcbe
|