Skip to content

Commit

Permalink
Merge pull request #312 from C-Pro/fix/message-text
Browse files Browse the repository at this point in the history
fix typo
  • Loading branch information
C-Pro authored Feb 21, 2024
2 parents 537f4b6 + c11542e commit 121ca88
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion bot/skills/chat.py
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ def __init__(self):
def registerMessage(self, update: Update, context: CallbackContext):
if update.message is None:
return
if update.message.text.starts_with("/"):
if update.message.text.startswith("/"):
return
with self.lock:
self.memory.append(
Expand Down

0 comments on commit 121ca88

Please sign in to comment.