mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-22 07:47:39 +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):
|
||||
if tmp:
|
||||
return tmp.get("trig", "0")
|
||||
return int(tmp.get("trig", "0"))
|
||||
else:
|
||||
return trig
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user