You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardexpand all lines: src/dice_maiden_logic.rb
+1-1
Original file line number
Diff line number
Diff line change
@@ -537,7 +537,7 @@ def check_bot_info(event)
537
537
returntrue
538
538
end
539
539
servers= $db.execute'select sum(server_count) from shard_stats;'
540
-
shards= $db.execute'select sum(shard_id) from shard_stats;'
540
+
shards= $db.execute'select max(shard_id) from shard_stats;'
541
541
total_shards=shards.join.to_i + 1
542
542
total_mem= $db.execute'select sum(mem) from shard_stats;'
543
543
event.respond(content: "| Dice Maiden | - #{servers.join.to_i} active servers across #{total_shards} shards using #{total_mem.join.to_i.round / 1024}GB of ram")
0 commit comments