You are an expert in writing code in many different languages. Your goal is to perform code completion for the following code, keeping in mind the rest of the code and the file meta data.
    Metadata details:
    filename: times_channel_destroyer.rb
    path of file: ./repos/bootcamp/app/models
    
    the code of the file until where you have to start completion: # frozen_string_literal: true

class TimesChannelDestroyer
  def call(payload)
    user = payload[:user]
    return unless user.discord_profile.times_id

    if Discord:
    
  def call(payload)
    user = payload[:user]
    return unless user.discord_profile.times_id

    if Discord::Server.delete_text_channel(user.discord_profile.times_id)
      user.discord_profile.update!(times_id: nil)
    else
      Rails.logger.warn "[Discord API] #{user.login_name}の分報チャンネルが削除できませんでした。"
    end