Skip to content

Plugin: nonebot-plugin-nearcade-reporter #3808

@jiyun233

Description

@jiyun233

PyPI 项目名

nonebot-plugin-nearcade-reporter

插件模块名

nonebot_plugin_nearcade_reporter

标签

[{"label":"maimai","color":"#ea5252"},{"label":"nearcade","color":"#b050ff"},{"label":"机厅人数","color":"#b050ff"}]

插件配置项

API_TOKEN=your_nearcade_api_token

QUERY_ATTENDANCE_MATCH='{
  "enable": true,
  "pattern": "^(?P<arcade>\\\\S+)几个?人?卡?$",
  "reply_message": "{arcade} 当前人数: {count}"
}'

UPDATE_ATTENDANCE_MATCH='{
  "enable": true,
  "pattern": "^机厅人数\\\\s*(?P<arcade>\\\\S+)\\\\s*(?P<count>(?:100|[1-9]\\\\d?|0))$",
  "enable_reply": true,
  "reply_message": "更新成功,{arcade} 当前人数: {count}"
}'

插件测试

  • 如需重新运行插件测试,请勾选左侧勾选框

Metadata

Metadata

Assignees

No one assigned

    Labels

    PluginPublish PluginPublishPublish things to store

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions