Basic command plugin structure

This commit is contained in:
Richard Chien
2018-06-15 10:40:53 +08:00
parent a3844eda69
commit 19c211b253
3 changed files with 57 additions and 37 deletions

View File

@ -2,5 +2,5 @@ import none
@none.on_command('echo', aliases=('say',))
async def _(bot, ctx, cmd):
await bot.send(ctx, cmd.arg)
async def _(bot, ctx, session):
await bot.send(ctx, session.arg)