From 758bf96765762854b882784247c6713925847922 Mon Sep 17 00:00:00 2001 From: "Jari (LotU)" Date: Mon, 18 Sep 2017 08:13:14 +0200 Subject: [PATCH] Update building_block_commands.md --- docs/bot_tutorial/building_block_commands.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/bot_tutorial/building_block_commands.md b/docs/bot_tutorial/building_block_commands.md index 3da6118..721b331 100644 --- a/docs/bot_tutorial/building_block_commands.md +++ b/docs/bot_tutorial/building_block_commands.md @@ -57,8 +57,8 @@ def on_tag_command(self, event, name, value=None): return event.msg.reply('Unknown tag: `{}`'.format(name)) ``` -A different way of adding arguments to a command is by using argparse.ArgumentParser. With agparser it's easier to create more complicated commands with many options or flags. -Right here, we'll recreate our math add command, but using agparser. +A different way of adding arguments to a command is by using argparse.ArgumentParser. With argparser it's easier to create more complicated commands with many options or flags. +Right here, we'll recreate our math add command, but using argparser. ```py @Plugin.command('add', parser=True, group='math') @Plugin.parser.add_argument('a', type=int)