mirror of
https://github.com/swc-project/swc.git
synced 2024-12-25 14:43:33 +03:00
d60c3242af
swc_bundler: - Fix cycle detection for complex circular imports. (denoland/deno#10752) swc_ecma_transforms_typescript: - Allow using large values for an enum variant.
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;
|
|
}
|