txlyre 1 year ago
parent
commit
29b2d7aec9
1 changed files with 1 additions and 1 deletions
  1. 1 1
      commands.py

+ 1 - 1
commands.py

@@ -414,7 +414,7 @@ async def run_handler(bot, event, command):
 
     return
 
-  language_name, text = re.match(r'^(\w+)(?:\s|\n)((?:\n|.)*)$', command.args_string)
+  language_name, text = re.match(r'^(\w+)(?:\s|\n)((?:\n|.)*)$', command.args_string).groups()
 
   async with ClientSession() as session:
     try: