From ceb7772b5b82ef392ffce8db0db7902fda2fa04c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Markus=20B=C3=B6hme?= Date: Tue, 7 Mar 2017 16:36:43 +0100 Subject: [PATCH] Correct some typos in command system comments --- src/command_system/framework.py | 4 ++-- src/command_system/implementation/middleware.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/command_system/framework.py b/src/command_system/framework.py index c6922c953..38d1436a6 100644 --- a/src/command_system/framework.py +++ b/src/command_system/framework.py @@ -15,7 +15,7 @@ """ Provides a tiny framework with simple, yet powerful and extensible -architecture to implement commands in a streight and flexible, +architecture to implement commands in a straight and flexible, declarative way. """ @@ -67,7 +67,7 @@ class CommandProcessor(object): """ # This defines a command prefix (or an initializer), which should - # preceede a a text in order it to be processed as a command. + # precede a text in order for it to be processed as a command. COMMAND_PREFIX = '/' def process_as_command(self, text): diff --git a/src/command_system/implementation/middleware.py b/src/command_system/implementation/middleware.py index d291517c5..1ad925771 100644 --- a/src/command_system/implementation/middleware.py +++ b/src/command_system/implementation/middleware.py @@ -75,7 +75,7 @@ class ChatCommandProcessor(CommandProcessor): self.command_succeeded = True def looks_like_command(self, text, body, name, arguments): - # Command escape stuff ggoes here. If text was prepended by the + # Command escape stuff goes here. If text was prepended by the # command prefix twice, like //not_a_command (if prefix is set # to /) then it will be escaped, that is sent just as a regular # message with one (only one) prefix removed, so message will be