Skip to content

Commit

Permalink
#5 will be the good one ?
Browse files Browse the repository at this point in the history
  • Loading branch information
Malarne committed Jan 21, 2021
1 parent 8330b66 commit 83b879c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions Leveler/leveler.py
Original file line number Diff line number Diff line change
Expand Up @@ -524,7 +524,7 @@ async def _show(self, ctx):
if not len(channels):
return await ctx.send(_("No channels configured"))
emb.add_field(
name="Channels:", value="\n".join([ctx.guild.get_channel(x).mention for x in channels if ctx.guild.get_channel(x) else await self.profiles._remove_guild_channel(ctx.guild, x)])
name="Channels:", value="\n".join([ctx.guild.get_channel(x).mention if ctx.guild.get_channel(x) else await self.profiles._remove_guild_channel(ctx.guild, x) for x in channels])
)
await ctx.send(embed=emb)

Expand Down Expand Up @@ -575,7 +575,7 @@ async def __show(self, ctx):
if not len(channels):
return await ctx.send(_("No channels configured"))
emb.add_field(
name="Channels:", value="\n".join([ctx.guild.get_channel(x).mention for x in channels if ctx.guild.get_channel(x) else await self.profiles._remove_guild_blacklist(ctx.guild, x)]])
name="Channels:", value="\n".join([ctx.guild.get_channel(x).mention if ctx.guild.get_channel(x) else await self.profiles._remove_guild_blacklist(ctx.guild, x) for x in channels])
)
await ctx.send(embed=emb)

Expand Down

0 comments on commit 83b879c

Please sign in to comment.