urt30plus / urt30t

|30+| Urban Terror Game/Discord Bot
https://www.urt-30plus.org
Apache License 2.0
1 stars 0 forks source link

Command should provide data in a list #33

Closed urt30plus closed 1 year ago

urt30plus commented 1 year ago

https://github.com/urt30plus/urt30t/blob/265fde16c8c8751ed903812f92ac03435878e29e/urt30t/core.py#L72

Most if not all commands that use data will end up splitting the string on a space. This should be done before calling the command function. I.e. pass as argv as a list[str].