Skip to content

Commit

Permalink
Fix markdown formatting in [p]streamalert list (#6292)
Browse files Browse the repository at this point in the history
  • Loading branch information
Kreusada authored Feb 26, 2024
1 parent ff09713 commit 185b607
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions redbot/cogs/streams/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -418,10 +418,10 @@ async def streamalert_list(self, ctx: commands.Context):
return

for channel_id, stream_platform in streams_list.items():
msg += f"** - #{ctx.guild.get_channel(channel_id)}**\n"
msg += f"- {ctx.guild.get_channel(channel_id).mention}\n"
for platform, streams in stream_platform.items():
msg += f"\t** - {platform}**\n"
msg += f"\t\t{humanize_list(streams)}\n"
msg += f" - **{platform}**\n"
msg += f" {humanize_list(streams)}\n"

for page in pagify(msg):
await ctx.send(page)
Expand Down

0 comments on commit 185b607

Please sign in to comment.