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"]
