mirror of
https://github.com/TeamPGM/PagerMaid_Plugins_Pyro.git
synced 2024-11-25 11:58:06 +00:00
lottery 修复机器人参与抽奖
This commit is contained in:
parent
3b1ecc8b7c
commit
076bcf5d7c
@ -54,6 +54,8 @@ async def lottery_end():
|
||||
async def handle_lottery(_, message: Message):
|
||||
if not message.from_user:
|
||||
return
|
||||
if message.from_user.is_bot:
|
||||
return
|
||||
if not message.text:
|
||||
return
|
||||
if not lottery_json["start"]:
|
||||
|
Loading…
Reference in New Issue
Block a user