Skip to main content

一个简单的每日签到插件

Project description

一个签到

发送 签到 来签到

有什么用?

可以获取金币

然后呢?

就没了

因为是写着玩练手的

因为是用了刚刚摸鱼的 nonebot_plugin_tortoise_orm 来弄数据库啦

https://github.com/kexue-z/nonebot-plugin-tortoise-orm

可以开发插件来获取金币?

插件使用

from nonebot_plugin_dailysign.models import DailySign

await DailySign.get_gold(user_id, group_id)
# 获取金币

await DailySign.adjust_gold(adjust, user_id, group_id)
# 更改金币数量 adjust 正负均可

计划

  • 用来减少 SETU NOW 插件的 CD

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_dailysign-0.1.0.1.tar.gz (4.0 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file nonebot_plugin_dailysign-0.1.0.1.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_dailysign-0.1.0.1.tar.gz
Algorithm Hash digest
SHA256 60b1992ad3a05248b9c094491609bc7b79ce6c6dc82d0ccbd5cef733ec0c5275
MD5 f325ef20965b54ce18c1e9ac7ed1507c
BLAKE2b-256 97bf288f38edd85bf5a745f6487353de43c740f549151cc15d01b8850cc01438

See more details on using hashes here.

File details

Details for the file nonebot_plugin_dailysign-0.1.0.1-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_dailysign-0.1.0.1-py3-none-any.whl
Algorithm Hash digest
SHA256 d750d11215fe29b051ab97c385658189b6c11c15d9c722c5fae6b9d4b45c5cdf
MD5 c409e32aefcabfc1223861e66734671a
BLAKE2b-256 f233fa69dd94543af9e54c029303e521e0139755f14f819007efa891883c656a

See more details on using hashes here.

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