anjanms / DubAPI

A Node.js API for creating queup.net bots.
MIT License
20 stars 10 forks source link

Support for uppercase in usernames #18

Closed avatarkava closed 8 years ago

avatarkava commented 8 years ago

Dubtrack apparently now supports uppercase letters in usernames - constructs like this will no longer work: var user = bot.getUserByName(input.toLowerCase());

Removing toLowerCase() is a partial fix, but still requires the user to enter the case as an exact match.

Any thoughts on either:

I think bot.getUserByName() is the only place this will apply in the DubAPI code, but you may be able to correct me if I'm wrong.

BenWildeman commented 8 years ago

are you sure uppercase doesn't work? test

BenWildeman commented 8 years ago

nvm I see what you mean now :/ test