Skip to content

$getGuildTemplates

$getGuildTemplates will return all guild templates of a specific guild.

Usage

$getGuildTemplates[guildID?;option?;separator?]

Parameters

FieldTypeDescriptionRequired
guildID?numberThe Id of the guild you want their templates returned.false
option?stringThe option it will be returned as.
1. code (default)
2. name
false
separator?stringThe separator which will separate the data returned.false

Example(s)

This will return all guild templates of the current guild:

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