$broadcastEval
$broadcastEval
will execute a code in all guilds of all shards. (requires sharding)
Usage
$broadcastEval[function]
Parameters
Field | Type | Description | Required |
---|---|---|---|
function | string | Function or code that will be executed. | true |
Example(s)
Requires Sharding - Review the Sharding Guide if you need explanation
This will return the amount of servers your bot is in:
1client.command({2 name: "broadcastEval",3 code: `4 $broadcastEval[$guildCount]5 `6});