mirror of
https://github.com/TitanEmbeds/Titan.git
synced 2024-11-15 02:21:21 +01:00
Fix server variable for the last commit
Because fixing a bug shouldn't introduce another one.
This commit is contained in:
parent
6c351c98fe
commit
36b31675e1
@ -127,7 +127,7 @@ class Titan(discord.Client):
|
||||
for member in guild.members:
|
||||
await self.database.update_guild_member(member, True, False)
|
||||
if guild.me.server_permissions.ban_members:
|
||||
banned = await self.get_bans(message.server)
|
||||
banned = await self.get_bans(guild)
|
||||
for ban in banned:
|
||||
member = discord.Member(user={
|
||||
"username": ban.name,
|
||||
|
Loading…
Reference in New Issue
Block a user