Debianov / vtc-bot

The bot for the virtual transport company management (TruckersMP).
GNU General Public License v2.0
1 stars 2 forks source link

Maybe inappropriate command parsing? #72

Open Debianov opened 2 months ago

Debianov commented 2 months ago

discord.ext.commands.errors.TooManyFlags: Too many flag values, expected 1 but received 2. instead of something like discord.ext.commands.errors.ArgumentParsingError for command 'sudo log 1 1249764765551689732 26 1249764765551689733 -name Aboba sudo log 1 1249764765551689732 26 1249764765551689733 -name Aboba'

Debianov commented 1 month ago

discord.py actually parses that string as one command. I believe that the library should handle either two commands or none. It needs improvement.