Search Results for

    Show / Hide Table of Contents

    Class DiscordTokens

    Contains the discord token and IDs.

    Inheritance
    System.Object
    DiscordTokens
    Implements
    System.IEquatable<DiscordTokens>
    Inherited Members
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ReferenceEquals(System.Object, System.Object)
    System.Object.ToString()
    Namespace: Color_Chan.Discord.Core
    Assembly: Color-Chan.Discord.Core.dll
    Syntax
    public class DiscordTokens : IEquatable<DiscordTokens>

    Constructors

    | Improve this Doc View Source

    DiscordTokens(String, String, UInt64)

    Initializes a new instance of DiscordTokens.

    Declaration
    public DiscordTokens(string botToken, string publicToken, ulong applicationId)
    Parameters
    Type Name Description
    System.String botToken

    The bot token of your application. This can be found at https://discord.com/developers/applications/APPLICATION_ID/bot

    System.String publicToken

    The public token of your application. This can be found at https://discord.com/developers/applications/APPLICATION_ID/information

    System.UInt64 applicationId

    The ID of your application. This can be found at https://discord.com/developers/applications/APPLICATION_ID/information

    Properties

    | Improve this Doc View Source

    ApplicationId

    The ID of your application. This can be found at https://discord.com/developers/applications/APPLICATION_ID/information

    Declaration
    public ulong ApplicationId { get; }
    Property Value
    Type Description
    System.UInt64
    | Improve this Doc View Source

    BotToken

    The bot token of your application. This can be found at https://discord.com/developers/applications/APPLICATION_ID/bot

    Declaration
    public string BotToken { get; }
    Property Value
    Type Description
    System.String
    | Improve this Doc View Source

    PublicToken

    The public token of your application. This can be found at https://discord.com/developers/applications/APPLICATION_ID/information

    Declaration
    public string PublicToken { get; set; }
    Property Value
    Type Description
    System.String

    Implements

    System.IEquatable<T>
    • Improve this Doc
    • View Source
    In This Article
    Back to top Generated by DocFX