We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 34927e5 commit 8634de6Copy full SHA for 8634de6
lib/https.lua
@@ -1,5 +1,5 @@
1
-- Update the Cryptid member count using HTTPS
2
-local member_fallback = 24000
+local member_fallback = 27900
3
local succ, https = pcall(require, "SMODS.https")
4
local last_update_time = 0
5
local initial = true
@@ -10,7 +10,7 @@ end
10
11
local function apply_discord_member_count(code, body, headers)
12
if body then
13
- Cryptid.member_count = string.match(body, '"approximate_member_count"%s*:%s*(%d+)')
+ Cryptid.member_count = string.match(body, '"approximate_member_count"%s*:%s*(%d+)') or Cryptid.member_count
14
end
15
16
function Cryptid.update_member_count()
0 commit comments