Merge emergency fixes
This commit is contained in:
commit
c17b0a5b34
1 changed files with 2 additions and 2 deletions
|
@ -69,10 +69,10 @@ class MessageEventMixin:
|
||||||
setting = Setting(guild=message.guild.id, setting="noinvite", value=True)
|
setting = Setting(guild=message.guild.id, setting="noinvite", value=True)
|
||||||
await setting.commit()
|
await setting.commit()
|
||||||
if match:
|
if match:
|
||||||
guild_invites = await message.guild.fetch_invites()
|
guild_invites = [x.code for x in await message.guild.fetch_invites()]
|
||||||
if message.guild.vanity_url_code:
|
if message.guild.vanity_url_code:
|
||||||
guild_invites.append(message.guild.vanity_url_code)
|
guild_invites.append(message.guild.vanity_url_code)
|
||||||
allowed = [x.code for x in guild_invites] + [
|
allowed = guild_invites + [
|
||||||
"dbrand",
|
"dbrand",
|
||||||
"VtgZntXcnZ",
|
"VtgZntXcnZ",
|
||||||
"gPfYGbvTCE",
|
"gPfYGbvTCE",
|
||||||
|
|
Loading…
Add table
Reference in a new issue