LukasMarckmiller / OverwatchDiscordBot

Websocket based discord bot in GO with Overwatch stats API integration
MIT License
2 stars 0 forks source link

Spaces in Xbox Gamertags #34

Open KermWithAPerm opened 5 years ago

KermWithAPerm commented 5 years ago

I encountered a bug when trying to register a new player into the system when they're on Xbox. The persons gamertag has a space in it, (e.g. West East) and it didn't recognize the space as part of his tag. So instead of adding "West East", it just registered a guy named "West". Can you implement a character to represent a space in tags to avoid this problem? # #

LukasMarckmiller commented 5 years ago

I'll Check this. You can try putting the tag in "". Space is a general problem because its the official seperator of parameters. Can you try !Stats "gamer tag"

LukasMarckmiller commented 5 years ago

First of all thank you for reporting! This is not a bug. Parameters for commands (e.g. !Config prefix=! region=eu ...) are separated by space. If your parameter contains spaces you can just quote it (e.g. !Stats West East -> !Stats "West East").