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
stringThe code of the template.
Returns
- Task<DiscordGuildTemplate>
The guild template for the code.