Skip to content

Commit

Permalink
fix: lint error addressed
Browse files Browse the repository at this point in the history
  • Loading branch information
camalot committed Nov 20, 2023
1 parent 41b6821 commit d2d0194
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/cogs/lib/mongodb/channels.py
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ def get_tracked_voice_channel_ids(self, guildId: int):
try:
if self.connection is None:
self.open()
cursor = self.connection.voice_channels.find({"guild_id": str(guildId)}, { "voice_channel_id": 1})
cursor = self.connection.voice_channels.find({"guild_id": str(guildId)}, {"voice_channel_id": 1})
items = [int(i['voice_channel_id']) for i in cursor]
return items
except Exception as ex:
Expand Down

0 comments on commit d2d0194

Please sign in to comment.