How llbuxudong/nonebot-plugin-bfvgrouptools works
This is a NoneBot plugin for Battlefield V group administration. Its main flows are player-status and ban-record commands, plus automatic group-request screening and welcome handling for configured groups. The graph separates event handling, player identity/cache, status and ban-record presentation, and external API access. Relationships are based on the README and shown source; external API calls are grouped because the excerpts do not establish separate service ownership for every endpoint.
Main entry points: __init__.py Plugin handlers · data.py Player ID lookup · utils.py API helpers · pb.py Ban-list image
Components 14
Bot events
- Plugin handlers
nonebot_plugin_grouptools/__init__.py - Join screening
nonebot_plugin_grouptools/__init__.py - Pending join records
nonebot_plugin_grouptools/__init__.py
Player data
- Player ID lookup
nonebot_plugin_grouptools/data.py - Player ID cache
nonebot_plugin_grouptools/data.py
Query results
- Player information
nonebot_plugin_grouptools/player_status.py - Community status
nonebot_plugin_grouptools/player_status.py - Ban-list image
nonebot_plugin_grouptools/pb.py - Text image renderer
nonebot_plugin_grouptools/pb.py
Storage and APIs
- Plugin data files
nonebot_plugin_grouptools/data.py - API helpers
nonebot_plugin_grouptools/utils.py - BFV data APIs
- OneBot platform
Other components
- Group members
Connections 20
- Group members → Plugin handlers: sends commands
nonebot_plugin_grouptools/__init__.py - Plugin handlers → Community status: queries status
nonebot_plugin_grouptools/__init__.py - Plugin handlers → Ban-list image: requests ban list
nonebot_plugin_grouptools/__init__.py - Plugin handlers → Join screening: handles requests
nonebot_plugin_grouptools/__init__.py - Join screening → Player ID lookup: resolves player
nonebot_plugin_grouptools/__init__.py - Join screening → API helpers: checks rank
nonebot_plugin_grouptools/__init__.py - Join screening → Pending join records: records applicant
nonebot_plugin_grouptools/__init__.py - Plugin handlers → Pending join records: removes applicant
nonebot_plugin_grouptools/__init__.py - Plugin handlers → OneBot platform: approves or replies
nonebot_plugin_grouptools/__init__.py - Plugin handlers → Player information: gets welcome details
nonebot_plugin_grouptools/__init__.py - Player information → Community status: adds community status
nonebot_plugin_grouptools/player_status.py - Community status → Player ID lookup: resolves player
nonebot_plugin_grouptools/player_status.py - Community status → API helpers: fetches status data
nonebot_plugin_grouptools/player_status.py - Ban-list image → Player ID lookup: resolves player
nonebot_plugin_grouptools/pb.py - Ban-list image → API helpers: fetches ban records
nonebot_plugin_grouptools/pb.py - Ban-list image → Text image renderer: renders records
nonebot_plugin_grouptools/pb.py - Player ID lookup → Player ID cache: reads and updates
nonebot_plugin_grouptools/data.py - Player ID lookup → API helpers: looks up uncached ID
nonebot_plugin_grouptools/data.py - Player ID cache → Plugin data files: loads and saves
nonebot_plugin_grouptools/data.py - API helpers → BFV data APIs: requests player data
nonebot_plugin_grouptools/utils.py