We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent eaeedc9 commit e2ae45cCopy full SHA for e2ae45c
tools/topgg.rb
@@ -18,6 +18,7 @@
18
db.busy_timeout = (10_000)
19
20
servers = db.execute 'select sum(server_count) from shard_stats;'
21
+puts "Current server count being submitted to topgg - #{servers}"
22
23
RestClient.post('https://top.gg/api/bots/377701707943116800/stats', { "shard_count": total_shards, "server_count": servers.join.to_i }.to_json, { Authorization: ENV['API'], content_type: :json }) do |response, _request, _result, &block|
24
case response.code
0 commit comments