Skip to content

Commit 5b925e1

Browse files
committed
Make this look a little better?
1 parent 393d636 commit 5b925e1

File tree

1 file changed

+3
-6
lines changed

1 file changed

+3
-6
lines changed

extensions/configuration.py

Lines changed: 3 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -29,12 +29,9 @@ async def on_command_error(self, ctx, error):
2929
@commands.guild_only()
3030
async def channel(self, ctx, channel: discord.TextChannel):
3131
""" Sets the channel used for logging events. """
32-
config.update_one(
33-
{'_id': str(ctx.guild.id)},
34-
{'$set': {
35-
'channel': str(channel.id)
36-
}},
37-
True)
32+
config.update_one({'_id': str(ctx.guild.id)},
33+
{'$set': {'channel': str(channel.id)}},
34+
True)
3835
await ctx.send(f'Channel set to {channel.mention}')
3936

4037
@commands.command()

0 commit comments

Comments
 (0)