mirror of
https://github.com/TeamPGM/PagerMaid_Plugins.git
synced 2024-11-25 14:14:06 +00:00
AutoReplySticker v1.21 不响应机器人
This commit is contained in:
parent
6bcac9b18f
commit
4f3d6aa75e
3
.gitignore
vendored
3
.gitignore
vendored
@ -130,3 +130,6 @@ dmypy.json
|
|||||||
|
|
||||||
# Pyre type checker
|
# Pyre type checker
|
||||||
.pyre/
|
.pyre/
|
||||||
|
|
||||||
|
# vscode
|
||||||
|
.vscode/
|
@ -223,6 +223,8 @@ async def process_message(context):
|
|||||||
return
|
return
|
||||||
if str(context.sender.id) in _whitelist:
|
if str(context.sender.id) in _whitelist:
|
||||||
return
|
return
|
||||||
|
if context.sender.bot:
|
||||||
|
return
|
||||||
except:
|
except:
|
||||||
pass
|
pass
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user