invitespy: bugfix
This commit is contained in:
parent
d246e2f6ec
commit
78bf147bdc
1 changed files with 1 additions and 1 deletions
|
@ -76,7 +76,7 @@ class Logs:
|
|||
msg = f"Suspicious message by {message.author.mention} "\
|
||||
f"({message.author.id}):"
|
||||
|
||||
invites = self.invite_re.search(message.lower())
|
||||
invites = self.invite_re.search(message.content.lower())
|
||||
for invite in invites:
|
||||
msg += f"\n- Has invite: https://{invite[0]}"
|
||||
alert = True
|
||||
|
|
Loading…
Reference in a new issue