public static Task <IGuildTemplate> SynchronizeAsync(this IGuildTemplate template,
                                                             IRestRequestOptions options = null, CancellationToken cancellationToken = default)
        {
            var client = template.GetRestClient();

            return(client.SynchronizeTemplateAsync(template.GuildId, template.Code, options, cancellationToken));
        }
        public static Task <IGuildTemplate> ModifyAsync(this IGuildTemplate template,
                                                        Action <ModifyTemplateActionProperties> action,
                                                        IRestRequestOptions options = null, CancellationToken cancellationToken = default)
        {
            var client = template.GetRestClient();

            return(client.ModifyTemplateAsync(template.GuildId, template.Code, action, options, cancellationToken));
        }
        public static Task <IGuildTemplate> SynchronizeAsync(this IGuildTemplate template, IRestRequestOptions options = null)
        {
            var client = template.GetRestClient();

            return(client.SynchronizeTemplateAsync(template.GuildId, template.Code, options));
        }