Closed
Description
Game: Team Fortress 2
Input in chat: !mapdl http://test.com/test.bsp
Code in question:
from commands.typed import TypedSayCommand
@TypedSayCommand('!mapdl')
def on_mapdl(command_info, map_url: str):
print(map_url)
Error:
Too many arguments:
!mapdl <map_url:str>
Works fine without the colon character. Not sure if this is just a parse issue or deliberately there? It also looks like it truncates everything after the colon, even if i did a *args: ('http', ':')