Skip to content

$getGuildBoosters

$getGuildBoosters will fetch and return all the boosters of the specified guild.

Usage

$getGuildBoosters[guildID;option?;sep?]

Parameters

FieldTypeDescriptionRequired
guildIDnumberThe ID of the guild.true
option?stringThe type of the function response.false
sep?stringThe separator between each booster.false

Types

TypeDescription
{mention}Mentions users who boosted.
{id}Returns the id of users who boosted.
{nickname}Returns the nickname of users who boosted.
{username}Returns the username of users who boosted.
{premiumSinceTimestamp}Returns the timestamp of boost time.

Example(s)

1
client.command({
2
name: "getGuildBoosters",
3
code: `
4
$getGuildBoosters[$guildId;{username} - {id};,]
5
`
6
});