-
Notifications
You must be signed in to change notification settings - Fork 0
Natives (Guilds)
lp_ edited this page Jul 31, 2022
·
6 revisions
- Parameters:
guildid
: The script ID of the guild to get a name from.destination[]
: Where to store the name in.- Returns:
- 1 if a name could be retrieved. 0 if not.
This function simply returns a guilds name.
- Parameters: None.
- Returns:
- Returns the number of guilds available.
- Parameters:
guildid
: The script id of the guild to count the members from.- Returns:
- The number of members inside the guild.
On the bot's startup, all discord servers(guilds) and their users are scanned for the first time. After everything has been retrieved, each discord server has an simple (just for this programs own use) integer ID applied.
This makes refering to discord guilds in natives easier.