Class: Discord::Pomodoro::Bot

Inherits:
Object
  • Object
show all
Defined in:
lib/discord/pomodoro/bot.rb

Overview

main bot

Instance Method Summary collapse

Instance Method Details

#runObject



10
11
12
13
14
15
16
17
18
# File 'lib/discord/pomodoro/bot.rb', line 10

def run
  bot.run(true)
  at_exit { bot.stop }

  connect_voice_bot
  schedule_chime

  bot.join
end