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