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
message = @submissions.sample
i = 0
until message.sender != target or i == 5 do
until message.sender != target or i == 10 do
message = @submissions.sample
i = i + 1
end

View File

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