mirror of
https://github.com/zhenxun-org/zhenxun_bot.git
synced 2026-09-29 00:32:06 +08:00
fix🐛: fix
This commit is contained in:
@@ -117,7 +117,7 @@ async def _(
|
||||
msg = msg.split()
|
||||
group_id = ""
|
||||
user_id = ""
|
||||
if msg[0].isdigit():
|
||||
if msg[0].replace("-", "", 1).isdigit():
|
||||
if len(msg[0]) < 4:
|
||||
_id = int(msg[0])
|
||||
if _id >= 0:
|
||||
|
||||
Reference in New Issue
Block a user