Ritvik19 commited on
Commit
fb7c0d6
·
verified ·
1 Parent(s): 143152b

Update command_center.py

Browse files
Files changed (1) hide show
  1. command_center.py +1 -0
command_center.py CHANGED
@@ -15,6 +15,7 @@ class CommandCenter:
15
 
16
  def parse_command(self, input_string):
17
  # parsing the input string
 
18
  if not input_string.startswith("/"):
19
  command = "/default"
20
  argument = input_string.split(" ")
 
15
 
16
  def parse_command(self, input_string):
17
  # parsing the input string
18
+ input_string = input_string.strip()
19
  if not input_string.startswith("/"):
20
  command = "/default"
21
  argument = input_string.split(" ")