Module

guild

Methods

inner resolveRole()

View Source lib/guild.js, line 170

Argument userResolvable must be a role name string or a Discord.js Role object.

InvalidArgumentException

Will throw if a role with the given name is not found.

DiscordUserNotFound

inner resolveUser()

View Source lib/guild.js, line 132

Argument userResolvable must be a Discord.js GuildMember, discord id string, an object with a discordId string property, or an object with a steamId64 property.

InvalidArgumentException

Will throw if a guild member is not found with the discord id.

DiscordUserNotFound