summaryrefslogtreecommitdiff
path: root/bot.lua
diff options
context:
space:
mode:
Diffstat (limited to 'bot.lua')
-rw-r--r--bot.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot.lua b/bot.lua
index 8a5f8e1..1e8776d 100644
--- a/bot.lua
+++ b/bot.lua
@@ -78,7 +78,7 @@ function furrybot.choose(list, color)
end
function furrybot.random(min, max, color)
- return furrybot.colors.random .. math.random(#list) .. color
+ return furrybot.colors.random .. math.random(min, max) .. color
end
function furrybot.http_request(url, name, callback)