blob: 33f5ed4cd2f34c394894b8a9c3fbca7f10b84910 (
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", help="[-GVhs] [-p string] [file]")
async def ed(self, ctx: Context) -> 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))
|