Get Server Count

BlockUtilities

Get the number of servers the bot is in.

This value is an approximate count cached by inventor.bot and is not updated in real-time.

Outputs

Server Count

Number of guilds the bot is a member of.

Example: 42

Build a bot using blocks like Get Server Count

Use this block in our visual flow editor. Bots are hosted 24/7 for free on inventor.bot.

Advanced Documentation

This documentation can be useful when using code mode. View as Markdown

ID: get_server_count

Outputs

FieldInventScript nameValue
Server Countserver_counte.g. "42"

Example InventScript

serverCount := get_server_count()
send_text_message(Args{
	channel_id:      trigger.channel_id,
	message_content: "Server Count: " + serverCount.server_count,
})

More utilities blocks