class SlackSmartBot

  # helpadmin: ----------------------------------------------
  # helpadmin: `start bot`
  # helpadmin: `start this bot`
  # helpadmin:    the bot will start to listen
  # helpadmin:    You can use this command only if you are an admin user
  # helpadmin:
  def start_bot(dest, from)
    save_stats(__method__)
    if config.admins.include?(from) #admin user
      respond "This bot is running and listening from now on. You can pause again: pause this bot", dest
      @status = :on
      @bots_created[@channel_id][:status] = :on
      update_bots_file()
      unless config.on_master_bot
        send_msg_channel config.master_channel, "Changed status on #{config.channel} to :on"
      end
    else
      respond "Only admin users can change my status", dest
    end
  end
end