mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2025-12-15 14:22:55 +08:00
fix🐛: fix
This commit is contained in:
parent
d96fd8191d
commit
3fcb8af756
@ -117,7 +117,7 @@ async def _(
|
|||||||
msg = msg.split()
|
msg = msg.split()
|
||||||
group_id = ""
|
group_id = ""
|
||||||
user_id = ""
|
user_id = ""
|
||||||
if msg[0].isdigit():
|
if msg[0].replace("-", "", 1).isdigit():
|
||||||
if len(msg[0]) < 4:
|
if len(msg[0]) < 4:
|
||||||
_id = int(msg[0])
|
_id = int(msg[0])
|
||||||
if _id >= 0:
|
if _id >= 0:
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user