diff options
Diffstat (limited to 'arthur/exts/fun/ed.py')
| -rw-r--r-- | arthur/exts/fun/ed.py | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/arthur/exts/fun/ed.py b/arthur/exts/fun/ed.py new file mode 100644 index 0000000..24e0025 --- /dev/null +++ b/arthur/exts/fun/ed.py @@ -0,0 +1,22 @@ +"""Ed is the standard text editor.""" + +from discord.ext.commands import Cog, Context, command + +from arthur.bot import KingArthur + + +class Ed(Cog): + """Ed is the standard text editor.""" + + 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: + """Ed is the standard text editor.""" + await ctx.send("?") + + +def setup(bot: KingArthur) -> None: + """Add cog to bot.""" + bot.add_cog(Ed(bot)) |