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