sync() {
    return this.client.api
      .guilds(this.guildID)
      .templates(this.code)
      .put()
      .then(data => this._patch(data));
  }
/**
   * Syncs this template to the current state of the guild.
   * @returns {Promise<GuildTemplate>}
   */
Syncs this template to the current state of the guild.
@returns {Promise}
Syncs this template to the current state of the guild . @returns { Promise }
sync() {
    return this.client.api
      .guilds(this.guildID)
      .templates(this.code)
      .put()
      .then(data => this._patch(data));
  }
sync ( ) { return this . client . api . guilds ( this . guildID ) . templates ( this . code ) . put ( ) . then ( data => this . _patch ( data ) ) ; }
Syncs this template to the current state of the guild.
Syncs this template to the current state of the guild .