播报群友 Steam 游戏状态
Project description
📖 介绍
在群内播报群友的 Steam 游戏状态
💿 安装
使用 nb-cli 安装
在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装nb plugin install nonebot-plugin-steam-game-status
使用包管理器安装
在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令pip
pip install nonebot-plugin-steam-game-status
pdm
pdm add nonebot-plugin-steam-game-status
poetry
poetry add nonebot-plugin-steam-game-status
conda
conda install nonebot-plugin-steam-game-status
更新
pip install nonebot-plugin-steam-game-status --upgrade
打开 nonebot2 项目根目录下的 pyproject.toml
文件, 在 [tool.nonebot]
部分追加写入
plugins = ["nonebot_plugin_steam_game_status"]
⚙️ 配置
在 nonebot2 项目的.env
文件中添加下表中的必填配置
配置项 | 必填 | 默认值 | 类型 | 说明 |
---|---|---|---|---|
steam_web_key | 是 | 无 | str | Steam Api Key |
steam_command_priority | 否 | 5 | int | 事件处理函数优先级 |
🎉 使用
获取Steam ID
Steam 桌面网站或桌面客户端:点开右上角昵称下拉菜单,点击账户明细,即可看到 Steam ID
Steam 应用:点击右上角头像,点击账户明细,即可看到 Steam ID
指令表
指令 | 需要@ | 范围 | 权限 | 说明 |
---|---|---|---|---|
steam绑定/steam添加/steam.add | 否 | 群聊 | 群员 | 后加个人Steam ID |
steam解绑/steam删除/steam.del | 否 | 群聊 | 群员 | 后加个人Steam ID |
steam列表/steam绑定列表 | 否 | 群聊 | 超管/群管 | 管理员命令 |
steam播报开启/steam播报打开 | 否 | 群聊 | 超管/群管 | 管理员命令 |
steam播报关闭/steam播报停止 | 否 | 群聊 | 超管/群管 | 管理员命令 |
创意来源
群友的 koishi bot 的该效果插件
注意事项
1.不支持播报非 Steam 游戏
2.不支持播报 Steam 隐身状态下进行的游戏
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
Close
Hashes for nonebot-plugin-steam-game-status-0.1.0.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6e488d265091eca7423fe0a5e5fd49e2f2f83b3f290ef110557a689bdd8e839a |
|
MD5 | af4bda204f030a4dc302da90226717f3 |
|
BLAKE2b-256 | 754b272a7502ee5f3dbda7fb39ca1e716e592353155b9e025d9fe428fb58a8bb |
Close
Hashes for nonebot_plugin_steam_game_status-0.1.0-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 3369cd71bdf7a6e38f1ec67b53e1dae1299455c29654cc4dfadb04a651ee8dc0 |
|
MD5 | 2cb1041d38941d2830f24e32fe89102c |
|
BLAKE2b-256 | 6b0d01025c61ad91706cec95d7fcfb3304df7160966c3e1c370798e98b141335 |