From a9ec0a6bee156a5949a6cc91c577078cb71389b7 Mon Sep 17 00:00:00 2001 From: s00ner Date: Thu, 14 Oct 2021 08:24:00 -0400 Subject: [PATCH] changed message time --- bot.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/bot.rb b/bot.rb index e2c2b66..909dd79 100755 --- a/bot.rb +++ b/bot.rb @@ -16,7 +16,7 @@ bot = Discordrb::Bot.new token: token quotes = File.read("Game Files/blurbsx.txt").split("##") quotes.delete_at(0) # Remove empty first item scheduler = Rufus::Scheduler.new -start_time = Rufus::Scheduler.parse('08:00') # what time of day the message should send +start_time = Rufus::Scheduler.parse('12:30') # what time of day the message should send # start tomorrow if start_time has passed start_time += Rufus::Scheduler.parse('1d') if start_time < Time.now