mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 20:38:51 +00:00
修复小问题
This commit is contained in:
parent
0d04b67924
commit
c7ce065223
@ -66,7 +66,7 @@ def validate(user_id: str, mode: int, user_list: list):
|
|||||||
|
|
||||||
def validsent(trig: int, tmp):
|
def validsent(trig: int, tmp):
|
||||||
if tmp:
|
if tmp:
|
||||||
return tmp.get("trig", "0")
|
return int(tmp.get("trig", "0"))
|
||||||
else:
|
else:
|
||||||
return trig
|
return trig
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user