DiscordPermissionOverwrite
Defined in: bot/bot.type.ts:224
A per-role or per-member override of a channel’s permissions.
Properties
Section titled “Properties”allow:
string
Defined in: bot/bot.type.ts:230
Bitfield of permissions to allow, as a string.
deny:
string
Defined in: bot/bot.type.ts:232
Bitfield of permissions to deny, as a string.
id:
string
Defined in: bot/bot.type.ts:226
Role or user id.
type:
0|1
Defined in: bot/bot.type.ts:228
0 = role, 1 = member.