Files
Discord.Net/test/Discord.Net.Tests
Chris Johnston 2de6cef18c Add validation to bot tokens based on string length (#1128)
* Add input validation for bot tokens based on their length

* Add token validation to BaseDiscordClient#LoginAsync

Adds a TokenUtils class which is used to validate that tokens are correct

* Revert changes to DiscordRestApiClient

* Add Unit tests to the TokenUtils class, fix a logic error that was caught by those tests

* Allow for API to throw exceptions

Moves the validation of tokens to be inside of LoginInternalAsync, and writes a Warning to the console when the supplied tokens are invalid
2018-08-30 17:27:37 -04:00
..
2017-01-24 13:46:32 -04:00
2017-01-24 14:02:26 -04:00
2017-01-24 11:55:41 -04:00
2017-01-26 00:06:47 -04:00