- 新增积分系统插件,支持积分查询、签到、转账等核心功能 - 包含对应的测试脚本 Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
19 lines
535 B
Python
19 lines
535 B
Python
from nonebot.plugin import PluginMetadata
|
|
from .config import Config
|
|
from .api import PointsAPI
|
|
|
|
__plugin_meta__ = PluginMetadata(
|
|
name="Danding Points",
|
|
description="Global points/virtual currency system for danding-bot",
|
|
usage="Import points_api from this plugin to use the points API",
|
|
type="service",
|
|
homepage="https://github.com/danding-bot/danding-bot",
|
|
config=Config,
|
|
)
|
|
|
|
# Initialize configuration and API
|
|
config = Config()
|
|
points_api = PointsAPI(config)
|
|
|
|
__all__ = ["points_api", "PointsAPI", "Config"]
|