Class: Guild
# Class: Guild
# Example
const guild = await client.guild.id("553490650cf26f12ae5bac8f");
1
# Extends
Method
# API
# id()
id(
id
):Promise
<Guild
&object
>
Returns the guild by the requested ID if found.
# Parameters
• id: string
# Returns
Promise
<Guild
& object
>
# Example
const guild = await client.guild.id("553490650cf26f12ae5bac8f");
1
# name()
name(
name
):Promise
<Guild
&object
>
Returns the guild by the requested guild name if found.
# Parameters
• name: string
# Returns
Promise
<Guild
& object
>
# Example
const guild = await client.guild.name("Mini Squid");
1
# player()
player(
player
):Promise
<Guild
&object
>
Returns the guild by the requested player's UUID if found.
# Parameters
• player: string
# Returns
Promise
<Guild
& object
>
# Example
const guild = await client.guild.player("20934ef9488c465180a78f861586b4cf");
1