提供 DDNet 成绩查询功能
Project description
📖 介绍
这是一个 nonebot2 插件,提供 DDNet 成绩查询功能 可以查询玩家的成绩~~,服务器的状态等信息(还没写好)~~,使用图片发送(这个真有)
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-ddrace
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-ddrace
pdm
pdm add nonebot-plugin-ddrace
poetry
poetry add nonebot-plugin-ddrace
conda
conda install nonebot-plugin-ddrace
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_ddrace"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 类型 | 默认值 | 说明 |
---|---|---|---|---|
ddr_need_at | 否 | Bool | False | 是否需要at bot触发指令 |
🎉 使用
指令表
指令 | 权限 | 需要@ | 范围 | 说明 |
---|---|---|---|---|
points | 群员 | 跟随全局 | 群聊,私聊 | 指令说明 |
效果图
如果有效果图的话
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
Built Distribution
Close
Hashes for nonebot_plugin_ddrace-0.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | f34426455e5a7d8e76920bad4076b009a8c578ff31be3f6231fdcc0eb318318e |
|
MD5 | 70e1741f17dd2c2854da3d75e6bd61ae |
|
BLAKE2b-256 | fd2bd108d27c4b2170020991e83c4f46edf61eb6a94583314f6b4bec237dd471 |
Close
Hashes for nonebot_plugin_ddrace-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | ab3c4bcabc9a18302bd321eba1e5dde5cc0233c9e93f321bae67f892b35cc5d8 |
|
MD5 | 515c83d8147c87b7ed01765e0dd04dbb |
|
BLAKE2b-256 | 3b26b379989a3628f89a5c161632c3cdd979be8568534c03d9391b30b9b7c991 |