Skip to content

Commit e2ae45c

Browse files
authored
Update topgg.rb (#255)
1 parent eaeedc9 commit e2ae45c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

tools/topgg.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,7 @@
1818
db.busy_timeout = (10_000)
1919

2020
servers = db.execute 'select sum(server_count) from shard_stats;'
21+
puts "Current server count being submitted to topgg - #{servers}"
2122

2223
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|
2324
case response.code

0 commit comments

Comments
 (0)