diff options
Diffstat (limited to 'arthur/exts/fun/ed.py')
| -rw-r--r-- | arthur/exts/fun/ed.py | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/arthur/exts/fun/ed.py b/arthur/exts/fun/ed.py index 24e0025..33f5ed4 100644 --- a/arthur/exts/fun/ed.py +++ b/arthur/exts/fun/ed.py @@ -11,12 +11,12 @@ class Ed(Cog): def __init__(self, bot: KingArthur) -> None: self.bot = bot - @command(name="ed", usage="[-GVhs] [-p string] [file]") - async def ed(self, ctx: Context, *, _args: str) -> None: + @command(name="ed", help="[-GVhs] [-p string] [file]") + async def ed(self, ctx: Context) -> None: """Ed is the standard text editor.""" await ctx.send("?") -def setup(bot: KingArthur) -> None: +async def setup(bot: KingArthur) -> None: """Add cog to bot.""" - bot.add_cog(Ed(bot)) + await bot.add_cog(Ed(bot)) |