Skip to main content

A nonebot2 plugin to check Lynchpin progress.

Project description

nonebot-plugin-lynchpined

Getting lynchpined everyday!

Description

nonebot-plugin-lynchpined is a nonebot2 plugin to help you track lynchpin progress in QQ group.

Installation

By nb-cli (Recommended)

Pending.

nb plugin install nonebot-plugin-lynchpined

By pip

pip install nonebot-plugin-lynchpined

and then adding package name in the following field of pyproject.toml:

[tool.nonebot]
plugins = [
  ... # others
  "nonebot-plugin-lynchpined",
  ]

Simple Usage

Just call lynchpin anywhere bot can chat.

> Lynchpined
Lynchpin: 24%
Pattern Matched:
 0  4 12 15 [24] 33 34 35 35

Subscribe to Lynchpin Progress

By adding lynchpined_user or lynchpined_group in config, the plugin will send lynchpin progress to the lynchpined at 00:00 everyday.

For example:

LYNCHPINED_GROUP = [4121524, 33343535]
LYNCHPINED_USER = [11708102]

Note: Make sure the timezone on your machine is UTC+8 or you have to manually modified the trigger in __init__.py.

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_lynchpined-0.1.2.tar.gz (3.1 kB view hashes)

Uploaded Source

Built Distribution

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