Controller for guild features.

Constructors

Methods

Constructors

Methods

  • Modify the current member in a guild.

    Parameters

    • guildId: string

      Guild ID to modify current member.

    • body: RESTPatchAPICurrentGuildMemberJSONBody

      Member parameters to set.

    Returns Promise<Result<RESTError | Error, APIGuildMember>>

    const result = await client.guild.modifyCurrentMember("GUILD_ID", { nick: "Alice" });