Kaynağa Gözat

Normalize command names

Kirk Trombley 4 yıl önce
ebeveyn
işleme
9ca82efdcd
1 değiştirilmiş dosya ile 1 ekleme ve 1 silme
  1. 1 1
      lib/rollbot/types.py

+ 1 - 1
lib/rollbot/types.py

@@ -66,7 +66,7 @@ class Command:
 
         return Command(
             bang=cleaned[0],
-            name=parts[0],
+            name=parts[0].lower(),
             args=parts[1] if len(parts) > 1 else "",
         )