Metadata-Version: 2.1
Name: nonebot-plugin-dailysign
Version: 0.1.0
Summary: 一个简单的每日签到插件
Home-page: https://github.com/kexue-z/nonebot-plugin-dailysign
Author-Email: kexue <xana278@foxmail.com>, kexue <x@kexue.io>
License: MIT License
        
        Copyright (c) 2022 kexue
        
        Permission is hereby granted, free of charge, to any person obtaining a copy
        of this software and associated documentation files (the "Software"), to deal
        in the Software without restriction, including without limitation the rights
        to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
        copies of the Software, and to permit persons to whom the Software is
        furnished to do so, subject to the following conditions:
        
        The above copyright notice and this permission notice shall be included in all
        copies or substantial portions of the Software.
        
        THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
        IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
        FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
        AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
        LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
        OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
        SOFTWARE.
Project-URL: Homepage, https://github.com/kexue-z/nonebot-plugin-dailysign
Requires-Python: <4.0,>=3.8
Requires-Dist: nonebot2[fastapi]>=2.0.0
Requires-Dist: nonebot-adapter-onebot>=2.0.0
Requires-Dist: nonebot-plugin-tortoise-orm>=0.1.0
Description-Content-Type: text/markdown

# 一个签到

发送 `签到` 来签到

有什么用？

可以获取金币

然后呢？

就没了

因为是写着玩练手的

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

[https://github.com/kexue-z/nonebot-plugin-tortoise-orm](https://github.com/kexue-z/nonebot-plugin-tortoise-orm)

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

## 插件使用

```python

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
