Skip to content

Fetching Guilds

nutmeg edited this page Feb 22, 2023 · 3 revisions

Run Down

Fetching guilds is taking an id and returning the guild's info
If the guild does not exist it returns null

Fetching Guilds

Guild fetching is called with PSClient.fetchGuild() and it uses the bot's guild cache to return the guild's info

let guild = PSClient.fetchGuild(guild);

Fetch Guild Related Functions

PSClient.fetchGuild

  • Description: Fetches the info for a guild using the bot's cache
  • Setup: PSClient.fetchGuild(guild)
  • Returns: Guild

Clone this wiki locally