Skip to main content

A Epic free game info plugin for Nonebot2

Project description

Nonebot Plugin EpicFree

🤖 用于获取 Epic 限免游戏资讯的 Nonebot2 插件


actions license pypi python


安装方法

nb plugin install nonebot_plugin_epicfree
# or
pip install --upgrade nonebot_plugin_epicfree

在 Nonebot2 入口文件(例如 bot.py)增加:

nonebot.load_plugin("nonebot_plugin_epicfree")

指令详解

# nonebot_plugin_epicfree/nonebot_plugin_epicfree/__init__.py#L7
matcher = on_regex("((E|e)(P|p)(I|i)(C|c))?喜(加一|\+1)")

基于正则匹配,所以,甚至 EpIc喜+1 这样的指令都可用!(

如果你觉得不顺眼也可以自己参考 Nonebot2 文档修改下。

特别鸣谢

@nonebot/nonebot2 | @Mrs4s/go-cqhttp | @DIYgod/RSSHub | @SD4RK/epicstore_api

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_epicfree-0.1.0.tar.gz (4.6 kB view hashes)

Uploaded Source

Built Distribution

nonebot_plugin_epicfree-0.1.0-py3-none-any.whl (4.9 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page