fixes #187: if webhook_id is present, abort message parsing
This commit is contained in:
parent
2a19e47b5f
commit
6d6da97202
|
@ -1219,7 +1219,7 @@ async def on_reaction_add(reaction, user):
|
||||||
@client.event
|
@client.event
|
||||||
async def on_message(msg):
|
async def on_message(msg):
|
||||||
|
|
||||||
if msg.author == client.user:
|
if msg.author == client.user or not msg.webhook_id is None:
|
||||||
return
|
return
|
||||||
|
|
||||||
command_b = False
|
command_b = False
|
||||||
|
|
Loading…
Reference in a new issue