Method SyncGuildTemplateAsync
- Namespace
- DSharpPlus
- Assembly
- DSharpPlus.Rest.dll
SyncGuildTemplateAsync(ulong, string)
Syncs the template to the current guild's state.
public Task<DiscordGuildTemplate> SyncGuildTemplateAsync(ulong guildId, string code)
Parameters
guildId
ulongGuild ID
code
stringThe code of the template to sync.
Returns
- Task<DiscordGuildTemplate>
The template synced.