Parcourir la source

Bare minimum attempt to center appreciate and stfu

Kirk Trombley il y a 1 an
Parent
commit
a33659aea4
1 fichiers modifiés avec 4 ajouts et 4 suppressions
  1. 4 4
      commands/commands/simple.py

+ 4 - 4
commands/commands/simple.py

@@ -128,13 +128,13 @@ HOUSE_BOT = """
 
 
 @as_command
-def appreciate(args: ArgList):
-    return HOUSE_TOP + " ".join(args) + HOUSE_BOT
+def appreciate(args: Args):
+    return HOUSE_TOP + (" " * (10 - len(args))) + args + HOUSE_BOT
 
 
 @as_command
-def stfu(args: ArgList):
-    return STFU_TOP + " ".join(args) + HOUSE_BOT
+def stfu(args: Args):
+    return STFU_TOP + (" " * (10 - len(args))) + args + HOUSE_BOT
 
 
 @as_command