use bilibili uid join in group
Project description
nonebot_plugin_BiliRequestAll
已实现功能
- 单插件分群管理
- 以B站UID审核入群(粉丝)
- 以B站UID审核入群(粉丝团)
安装方法
- 使用pip
pip install nonebot_plugin_BiliRequestAll
- 放入src\plugin目录下
- 重新加载插件
说明依赖
10| import os, json, time, requests
11| from xml.etree.ElementTree import Comment
12| from nonebot.adapters import Message
13| from nonebot.params import CommandArg
14| from nonebot.permission import SUPERUSER
15| from nonebot import on_request,on_command, logger
16| from nonebot.adapters.onebot.v11 import Bot, GroupRequestEvent, GroupMessageEvent
17| from nonebot.adapters.onebot.v11.permission import GROUP_OWNER, GROUP_ADMIN
命令
基础命令
-
/req initialize # 初始化群审核插件
-
/req on/off # 群审核主开关
-
/req fans on/off # 群审核粉丝开关
-
/req barand on/off # 群审核粉丝团开关
-
/req crewmate on/off # 群审核大航海船员开关(暂未实现)
配置参数命令
-
/upuid <纯数字> # 配置主播UID
-
/liveid <纯数字> # 配置直播间号
-
/barandname <粉丝牌名> # 配置粉丝牌名
注意事项
加载插件并初始完成后,会在机器人目录下创建'switcher_group'文件夹,进入文件夹
找到文件'@cookie.json'打开
{"cookie": "<Put Your Cookie In Here>"} #将cookie完整粘贴进这里
^^^^^^^^^^^^^^^^^^^^^^^^^
保存,关闭文件
未来计划
-
Tips:如果在不咕的情况下
- 审核大航海船员
- UID一次性化
- 群黑白名单
反馈问题
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_BiliRequestAll-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | ba230bebc4a91f38b30d4a2304a43f7ae0541497d42fe061c67e88a4c602e9bc |
|
MD5 | c7e9c307f7420703877e9a5985cd4992 |
|
BLAKE2b-256 | 7c697b2da7a8678b6a49047addbe3b5e1c8ea467553e3355c7c8370dffa3968b |
Close
Hashes for nonebot_plugin_BiliRequestAll-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 608b56bd4a9e90f97c1bc48bf2d14dfdf9929bd9c9ff528871f83efda567b436 |
|
MD5 | 22192ba4dca9ebdd7e3b627f1055fe67 |
|
BLAKE2b-256 | d9f19d28e0e78ee86c55975df95b73d849450e0492c51bbf4b84a33455c4b362 |