mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 22:56:11 +03:00
17 lines
935 B
TypeScript
17 lines
935 B
TypeScript
|
// Loaded from https://deno.land/x/discordeno@11.0.0-rc.2/src/types/guilds/modify_guild_member.ts
|
||
|
|
||
|
|
||
|
/** https://discord.com/developers/docs/resources/guild#modify-guild-member */
|
||
|
export interface ModifyGuildMember {
|
||
|
/** Value to set users nickname to. Requires the `MANAGE_NICKNAMES` permission */
|
||
|
nick?: string | null;
|
||
|
/** Array of role ids the member is assigned. Requires the `MANAGE_ROLES` permission */
|
||
|
roles?: bigint[] | null;
|
||
|
/** Whether the user is muted in voice channels. Will throw a 400 if the user is not in a voice channel. Requires the `MUTE_MEMBERS` permission */
|
||
|
mute?: boolean | null;
|
||
|
/** Whether the user is deafened in voice channels. Will throw a 400 if the user is not in a voice channel. Requires the `MOVE_MEMBERS` permission */
|
||
|
deaf?: boolean | null;
|
||
|
/** Id of channel to move user to (if they are connected to voice). Requires the `MOVE_MEMBERS` permission */
|
||
|
channelId?: bigint | null;
|
||
|
}
|