diff options
| author | 2018-12-05 00:57:42 +0100 | |
|---|---|---|
| committer | 2018-12-05 00:57:42 +0100 | |
| commit | 84719b175cf4702d5320c228313d80848e347ab5 (patch) | |
| tree | 82290f1a21a71084c10b828753c6893352df3b73 /bot/cogs/alias.py | |
| parent | Add commas to server command (#209) (diff) | |
Fixes a bug with the watch alias introduced by our recent change of the watch command.
Diffstat (limited to '')
| -rw-r--r-- | bot/cogs/alias.py | 6 | 
1 files changed, 3 insertions, 3 deletions
| diff --git a/bot/cogs/alias.py b/bot/cogs/alias.py index 12edb202f..7824b2c6b 100644 --- a/bot/cogs/alias.py +++ b/bot/cogs/alias.py @@ -1,7 +1,7 @@  import inspect  import logging -from discord import Colour, Embed, TextChannel, User +from discord import Colour, Embed, User  from discord.ext.commands import (      Command, Context, clean_content, command, group  ) @@ -71,13 +71,13 @@ class Alias:      @command(name="watch", hidden=True)      async def bigbrother_watch_alias( -            self, ctx, user: User, channel: TextChannel = None +            self, ctx, user: User, reason: str = None      ):          """          Alias for invoking <prefix>bigbrother watch user [text_channel].          """ -        await self.invoke(ctx, "bigbrother watch", user, channel) +        await self.invoke(ctx, "bigbrother watch", user, reason=reason)      @command(name="unwatch", hidden=True)      async def bigbrother_unwatch_alias(self, ctx, user: User): | 
