mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-12-06 09:22:31 -05:00
[Streams] Add docstring for [p]streamalert list (#2001)
This commit is contained in:
@@ -209,6 +209,7 @@ class Streams:
|
|||||||
|
|
||||||
@streamalert.command(name="list")
|
@streamalert.command(name="list")
|
||||||
async def streamalert_list(self, ctx: commands.Context):
|
async def streamalert_list(self, ctx: commands.Context):
|
||||||
|
"""List all active stream alerts in this server."""
|
||||||
streams_list = defaultdict(list)
|
streams_list = defaultdict(list)
|
||||||
guild_channels_ids = [c.id for c in ctx.guild.channels]
|
guild_channels_ids = [c.id for c in ctx.guild.channels]
|
||||||
msg = _("Active alerts:\n\n")
|
msg = _("Active alerts:\n\n")
|
||||||
|
|||||||
Reference in New Issue
Block a user