Skip to main content

use bilibili uid join in group

Project description

nonebot

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完整粘贴进这里
              ^^^^^^^^^^^^^^^^^^^^^^^^^
              
保存,关闭文件

nonebot

未来计划

  • Tips:如果在不咕的情况下

    • 审核大航海船员
    • UID一次性化
    • 群黑白名单

反馈问题

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

nonebot_plugin_BiliRequestAll-0.1.0.tar.gz (6.1 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

File details

Details for the file nonebot_plugin_BiliRequestAll-0.1.0.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_BiliRequestAll-0.1.0.tar.gz
Algorithm Hash digest
SHA256 4c35857d2f6ec39d1f0af9d7ff99585db9fefc71cc927b570c9587a28fcee2c5
MD5 f3958542306b3549d58069e6041166ce
BLAKE2b-256 4d0ec369fc71d0ae2a1f6df938e3398be01ad6696d648865d582bdd10c5e1d99

See more details on using hashes here.

File details

Details for the file nonebot_plugin_BiliRequestAll-0.1.0-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_BiliRequestAll-0.1.0-py3-none-any.whl
Algorithm Hash digest
SHA256 4da1bed1bff5f88ee823f7927b635886513bc6a048bdc1d5463bee9d0397ecde
MD5 9000711822f8114d38c6055ba587b2b9
BLAKE2b-256 5c2c6530a56d8863626fb8e8cd24eb47e0c1409a8bffbd93c48aec8869cec9d2

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page