Skip to content

Commit

Permalink
str(None) will be fine
Browse files Browse the repository at this point in the history
  • Loading branch information
Malarne committed Jan 21, 2021
1 parent 83b879c commit af7b53a
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 if ctx.guild.get_channel(x) else await self.profiles._remove_guild_channel(ctx.guild, x) for x in channels])
name="Channels:", value="\n".join([ctx.guild.get_channel(x).mention if ctx.guild.get_channel(x) else str(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 if ctx.guild.get_channel(x) else await self.profiles._remove_guild_blacklist(ctx.guild, x) for x in channels])
name="Channels:", value="\n".join([ctx.guild.get_channel(x).mention if ctx.guild.get_channel(x) else str(await self.profiles._remove_guild_blacklist(ctx.guild, x)) for x in channels])
)
await ctx.send(embed=emb)

Expand Down

0 comments on commit af7b53a

Please sign in to comment.