Skip to content

Commit

Permalink
lint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
camalot committed Jun 28, 2024
1 parent 929aa76 commit 242a543
Showing 1 changed file with 5 additions and 8 deletions.
13 changes: 5 additions & 8 deletions bot/cogs/channel_creator.py
Original file line number Diff line number Diff line change
Expand Up @@ -115,10 +115,7 @@ async def on_guild_channel_update(self, before, after):
)

self.channel_db.track_channel_name(
guildId=guild_id,
channelId=after.id,
ownerId=owner_id,
name=after.name,
guildId=guild_id, channelId=after.id, ownerId=owner_id, name=after.name
)

if after.type == discord.ChannelType.text:
Expand Down Expand Up @@ -200,13 +197,13 @@ async def on_voice_state_update(self, member, before, after):
source_channel = after.channel
source_channel_id = after.channel.id

userSettings = self.usersettings_db.get_user_settings(
guildId=guild_id, userId=member.id
)
userSettings = self.usersettings_db.get_user_settings(guildId=guild_id, userId=member.id)

if userSettings is not None:
self.log.debug(
guild_id, f"{self._module}.{self._class}.{_method}", f"User Settings: {json.dumps(userSettings.__dict__)}"
guild_id,
f"{self._module}.{self._class}.{_method}",
f"User Settings: {json.dumps(userSettings.__dict__)}",
)

guildSettings = self.settings.db.get_guild_category_settings(
Expand Down

0 comments on commit 242a543

Please sign in to comment.