Table of Contents

Method IsConnected

Namespace
DSharpPlus.Clients
Assembly
DSharpPlus.dll

IsConnected(ulong)

Indicates whether the bot's connection to the given guild is functional.

bool IsConnected(ulong guildId)

Parameters

guildId ulong

Returns

bool

IsConnected(int)

Indicates whether the bot's shard connection is functional.

bool IsConnected(int shardId)

Parameters

shardId int

Returns

bool