 
     /// This generates a webhook that is returned in the oauth token response for authorization code grants.
     case webhookIncoming = "webhook.incoming"
-}
-
-/// Represents the Discord OAuth endpoint.
-public enum DiscordOAuthEndpoint : String {
-    /// The base OAuth endpoint.
-    case baseURL = "https://discordapp.com/api/oauth2/authorize"
-    /// The bot endpoint.
-    case bot = "bot"
 
     // MARK: Methods
 

    /// Allows your app to join users to a group dm.
    case gdmJoin = "gdm.join"

    /// for local rpc server api access, this allows you to read messages from all client channels
    /// (otherwise restricted to channels/guilds your app creates).
    case messagesRead = "messages.read"



import Foundation

/// Represents the Discord OAuth endpoint and the different scopes Disocrd has.
public enum DiscordOAuthEndpoint : String {
    /// The base OAuth endpoint.
    case baseURL = "https://discordapp.com/api/oauth2/authorize"
    /// The bot scope.
    case bot

    /// allows /users/@me/connections to return linked Twitch and YouTube accounts.
