mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-07 11:48:55 -05:00
[Streams] Add docstring for [p]streamalert list (#2001)
This commit is contained in:
parent
591ed50ac3
commit
dc9a85ca98
@ -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")
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user