[Streams] Add docstring for [p]streamalert list (#2001)

This commit is contained in:
Toby Harradine 2018-08-12 12:09:38 +10:00 committed by GitHub
parent 591ed50ac3
commit dc9a85ca98
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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")