Skip to main content

KIRAKIRA账号审核入群功能

Project description

NoneBotPluginLogo

NoneBotPluginText

nonebot-plugin-okashi

✨ NoneBot osu!用户审核入群 ✨

license pypi python

📖 介绍

本插件可以实现验证osu!账号是否属实,如果属实即自动批准入群并修改其群名片为申请时输入的id 请在使用时通过管理群->加群方式->需要身份认证中开启需要回答问题并由管理员审核并将bot设为管理员

灵感来自nonebot_plugin_bf1_groptools

💿 安装

使用 nb-cli 安装 在 nonebot2 项目的根目录下打开命令行, 输入以下指令即可安装
nb plugin install nonebot-plugin-okashi
使用包管理器安装 在 nonebot2 项目的插件目录下, 打开命令行, 根据你使用的包管理器, 输入相应的安装命令
pip
pip install nonebot-plugin-okashi
pdm
pdm add nonebot-plugin-okashi
poetry
poetry add nonebot-plugin-okashi
conda
conda install nonebot-plugin-okashi

打开 nonebot2 项目根目录下的 pyproject.toml 文件, 在 [tool.nonebot] 部分追加写入

plugins = ["nonebot_plugin_osuverify"]

⚙️ 配置

在 nonebot2 项目的.env文件中添加下表中的必填配置

配置项 必填 默认值 说明
osu_amd 填入osu!官网申请的apiV1

申请地址:https://osu.ppy.sh/p/api

填写示例:osu_amd="申请到的api"

🎉 使用

无图,无指令。 如果输入的osu!用户名官网查无此人,bot会拒绝,并提示用户输入正确的用户名。

如果验证通过,bot会自动修改用户的Q群备注为osu!用户名。

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_okashi-0.1.4.tar.gz (16.4 kB view details)

Uploaded Source

Built Distribution

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

nonebot_plugin_okashi-0.1.4-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_okashi-0.1.4.tar.gz.

File metadata

  • Download URL: nonebot_plugin_okashi-0.1.4.tar.gz
  • Upload date:
  • Size: 16.4 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/6.1.0 CPython/3.13.7

File hashes

Hashes for nonebot_plugin_okashi-0.1.4.tar.gz
Algorithm Hash digest
SHA256 033030476fece39ceec914a012cd5749eab470bdd410152afeafb3541c5d5fb5
MD5 6b5196fdeb61bc7b872607af77082d7b
BLAKE2b-256 773ce33aae55474e1706643f34ff3e889002bf5a955097383ea8f8e8e6404edf

See more details on using hashes here.

File details

Details for the file nonebot_plugin_okashi-0.1.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_okashi-0.1.4-py3-none-any.whl
Algorithm Hash digest
SHA256 5cd9ecb8a26eaefa164e037f78a881831fb1ad590fc9cbc252070c4905beb773
MD5 8583962b8c60378efc2a2d3ba2dfbd76
BLAKE2b-256 27f709278a97402732f2b5d4b6b58ea6d17f29e50618d35e443c10a7ba1fe2ae

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