Method GetTemplateAsync
- Namespace
- Dis
Cat Sharp
- Assembly
- DisCatSharp.dll
GetTemplateAsync(string)
Gets a guild template by the code.
Parameters
code
stringThe code of the template.
Returns
- Task<Discord
Guild >Template The guild template for the code.
Exceptions
- Bad
Request Exception Thrown when an invalid parameter was provided.
- Server
Error Exception Thrown when Discord is unable to process the request.