We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 5518bd7 commit 6d3eb0eCopy full SHA for 6d3eb0e
1 file changed
api.lua
@@ -69,25 +69,3 @@ end
69
function lib.GetAllAnimatedIcons()
70
return clone(a)
71
end
72
-
73
74
--- cache
75
-local keys = {}
76
-local keysCached = false
77
---- Returns a random user
78
---- @return string id of a random user with a static icon
79
-function lib.GetRandomUserId()
80
- if not keysCached then
81
- for userId in pairs(s) do
82
- table.insert(keys, userId)
83
- end
84
- keysCached = true
85
86
87
- if #keys > 0 then
88
- local randomIndex = math.random(#keys)
89
- return keys[randomIndex]
90
91
92
- return nil
93
-end
0 commit comments