blob: 3ebeaea279f452d1b5cb89f76d60d223f8737cea (
plain) (
blame)
| 1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
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("?")
async def setup(bot: KingArthur) -> None:
    """Add cog to bot."""
    await bot.add_cog(Ed(bot))
 |