# $guildCount[] — Number of Servers (Alias)

`$guildCount[]` is an alias of `$serverCount[]`. It returns the total number of Discord servers the bot is installed on.

## Syntax

```
$guildCount
```

## Parameters

No parameters.

## Return Value

- **Type**: `integer`
- The number of servers the bot belongs to.

## Examples

### Simple Display

```bdfd
$sendMessage[🤖 Present on **$guildCount** servers!]
```

### Bot Statistics

```bdfd
$title[📊 Bot Statistics]
$addField[🌐 Guilds;$guildCount;yes]
$addField[🔢 Shard;$shardID;yes]
$addField[📶 Ping;$ping ms;yes]
$color[#5865F2]
```

### Popularity Condition

```bdfd
$if[$guildCount>=50]
$sendMessage[🎉 +$guildCount servers! Thank you all!]
$else
$sendMessage[Bot present on $guildCount servers.]
$endif
```

## Notes

- The number is the length of the list of servers returned by Discord for the bot account at the moment of the call.
- `$serverCount` counts the same list; they differ only when no guild query service is available: `$guildCount` then falls back to the `bot.guildCount` value supplied by the host (or `1`).
