Skip to content

Commit e4c4382

Browse files
committed
Add MANAGE_WEBHOOKS and ADD_REACTIONS permissions
1 parent 286a1ea commit e4c4382

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

src/model.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -679,6 +679,8 @@ pub mod permissions {
679679
const MANAGE_NICKNAMES = 1 << 27,
680680
/// Manage the emojis in a a server.
681681
const MANAGE_EMOJIS = 1 << 30,
682+
/// Manage channel webhooks
683+
const MANAGE_WEBHOOKS = 1 << 29,
682684

683685
const READ_MESSAGES = 1 << 10,
684686
const SEND_MESSAGES = 1 << 11,
@@ -693,6 +695,8 @@ pub mod permissions {
693695
const MENTION_EVERYONE = 1 << 17,
694696
/// Use emojis from other servers
695697
const EXTERNAL_EMOJIS = 1 << 18,
698+
/// Add emoji reactions to messages
699+
const ADD_REACTIONS = 1 << 6,
696700

697701
const VOICE_CONNECT = 1 << 20,
698702
const VOICE_SPEAK = 1 << 21,

0 commit comments

Comments
 (0)