Functionalities
Other
Powered By GitBook
$guildAvailable
Returns `true` if a guild is available. Otherwise, function returns `false`. Pertains to guild outages.

FUNCTION USAGE

    $guildAvailable
    $guildAvailable[]
    $guildAvailable[guildID]

Properties:

[] - Leave brackets empty to return the availability for the current guild. Same as no brackets. guildID - Supplying a guild ID will return the output of that server.
Bot must be in that guild to read the data.

Example 1: Returning data from the current guild. True = available. False = Outage

1
bot.Command({
2
name: "outage",
3
code: `
4
$guildAvailable
5
`
6
})
Copied!

Example 1: Returning data from a specific guild. True = available. False = Outage

1
bot.Command({
2
name: "outage",
3
code: `
4
$guildAvailable[629353453465294875]
5
`
6
})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: