Method GetTemplatesAsync
- Namespace
- DisCatSharp.Entities
- Assembly
- DisCatSharp.dll
GetTemplatesAsync()
Gets all of this guild's templates.
public Task<IReadOnlyList<DiscordGuildTemplate>> GetTemplatesAsync()
Returns
- Task<IReadOnlyList<DiscordGuildTemplate>>
All of the guild's templates.
Exceptions
- UnauthorizedException
Throws when the client does not have the ManageGuild permission.
- ServerErrorException
Thrown when Discord is unable to process the request.