Table of Contents

Method TryGetGuildPreview

Namespace
DisCatSharp
Assembly
DisCatSharp.dll

TryGetGuildPreview(ulong, out DiscordGuildPreview?)

Tries to get a guild preview.

public bool TryGetGuildPreview(ulong id, out DiscordGuildPreview? preview)

Parameters

id ulong

The guild ID.

preview DiscordGuildPreview

The preview, if found.

Returns

bool

True if the preview was found, otherwise false.