minor tweaks
This commit is contained in:
parent
97078504d2
commit
84c684b182
@ -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
|
||||||
|
2
main.rb
2
main.rb
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user