|
@@ -39,6 +39,12 @@ var ErrMFA = errors.New("account has 2FA enabled")
|
|
|
// With an email, password and auth token - Discord will verify the auth
|
|
|
// token, if it is invalid it will sign in with the provided
|
|
|
// credentials. This is the Discord recommended way to sign in.
|
|
|
+//
|
|
|
+// NOTE: While email/pass authentication is supported by DiscordGo it is
|
|
|
+// HIGHLY DISCOURAGED by Discord. Please only use email/pass to obtain a token
|
|
|
+// and then use that authentication token for all future connections.
|
|
|
+// Also, doing any form of automation with a user (non Bot) account may result
|
|
|
+// in that account being permanently banned from Discord.
|
|
|
func New(args ...interface{}) (s *Session, err error) {
|
|
|
|
|
|
// Create an empty Session interface.
|