minor tweaks

This commit is contained in:
stryan 2022-02-11 16:33:17 -05:00
parent 97078504d2
commit 84c684b182
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ class Folder
end end
message = @submissions.sample message = @submissions.sample
i = 0 i = 0
until message.sender != target or i == 5 do until message.sender != target or i == 10 do
message = @submissions.sample message = @submissions.sample
i = i + 1 i = i + 1
end end

View File

@ -109,7 +109,7 @@ loop do
logger.info("no submissions ready") logger.info("no submissions ready")
next next
end end
steve = bot.user[sid] steve = bot.user(sid)
if steve == nil if steve == nil
logger.warn("Tried to get Steve #{sid} but failed, skipping") logger.warn("Tried to get Steve #{sid} but failed, skipping")
next next