Skip to content

Commit 3b4a20c

Browse files
authoredJan 5, 2022
fix: add UserContextMenuInteraction (#87)
1 parent 4a4198a commit 3b4a20c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed
 

‎actions.js

+3
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@ const {
88
ButtonInteraction,
99
CommandInteraction,
1010
SelectMenuInteraction,
11+
UserContextMenuInteraction,
1112
MessageContextMenuInteraction,
1213
AutocompleteInteraction,
1314
Typing,
@@ -361,6 +362,8 @@ module.exports = {
361362
InteractionType = CommandInteraction;
362363
break;
363364
case Constants.ApplicationCommandTypes.USER:
365+
InteractionType = UserContextMenuInteraction;
366+
break;
364367
case Constants.ApplicationCommandTypes.MESSAGE:
365368
InteractionType = MessageContextMenuInteraction;
366369
break;

0 commit comments

Comments
 (0)
Please sign in to comment.