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