Search Results for

    Show / Hide Table of Contents

    Class BotGateway

    Stores the gateway information related to the current bot.

    Inheritance
    Object
    BotGateway
    Namespace: Discord
    Assembly: Discord.Net.Core.dll
    Syntax
    public class BotGateway : object

    Properties

    | Improve this Doc View Source

    SessionStartLimit

    Gets the SessionStartLimit that contains the information about the current session start limit.

    Declaration
    public SessionStartLimit SessionStartLimit { get; }
    Property Value
    Type Description
    SessionStartLimit
    | Improve this Doc View Source

    Shards

    Gets the recommended number of shards to use when connecting.

    Declaration
    public int Shards { get; }
    Property Value
    Type Description
    Int32
    | Improve this Doc View Source

    Url

    Gets the WSS URL that can be used for connecting to the gateway.

    Declaration
    public string Url { get; }
    Property Value
    Type Description
    String

    Theme

    • Improve this Doc
    • View Source
    In This Article
    Back to top Discord.Net (c) 2015-2022 3.7.2