fixed start time
parent
52bca3ee2d
commit
5dfadd95dc
2
bot.rb
2
bot.rb
|
@ -19,7 +19,7 @@ scheduler = Rufus::Scheduler.new
|
||||||
start_time = Rufus::Scheduler.parse('08:00') # what time of day the message should send
|
start_time = Rufus::Scheduler.parse('08:00') # what time of day the message should send
|
||||||
|
|
||||||
|
|
||||||
scheduler.every '1d', first_at start_time do
|
scheduler.every '1d', first_at: start_time do
|
||||||
bot.send_message(852541842511495210, random_quote(quotes))
|
bot.send_message(852541842511495210, random_quote(quotes))
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue