Table of Contents

Method GetTemplateAsync

Namespace
DSharpPlus
Assembly
DSharpPlus.Rest.dll

GetTemplateAsync(string)

Gets a guild template by the code.

public Task<DiscordGuildTemplate> GetTemplateAsync(string code)

Parameters

code string

The code of the template.

Returns

Task<DiscordGuildTemplate>

The guild template for the code.