RickvanLoo / discord-cli

Minimalistic Command-Line Interface for Discord
GNU General Public License v2.0
203 stars 32 forks source link

Added ability to log in using TOTP token #36

Closed Sense545 closed 7 years ago

Sense545 commented 7 years ago

Not sure if I should have changed this in the develop branch, but that was the default one. Haven't coded anything in golang before this, so excuse me if this is a bit ugly. Fixes https://github.com/Rivalo/discord-cli/issues/34

Sense545 commented 7 years ago

Should find an alternative, as calling /api/login and /api/auth/mfa/totp can get users banned. Reference: https://github.com/hammerandchisel/discord-api-docs/issues/69#issuecomment-223886862