Skip to content

$cacheMembers

$cacheMembers will cache all members of a guild.

Usage

$cacheMembers[guildID?;returnCount?]

Parameters

FieldTypeDescriptionRequired
guildID?numberOf which guild the members shall be cached from.false
returnCount?booleanReturns the cached member count.
1. true
2. false (default)
false

Example(s)

This will cache all members of the current guild and return the amount of the cached members:

1
client.command({
2
name: "cacheMembers",
3
code: `
4
$cacheMembers[$guildID;true]
5
`
6
});