refactor: rename, format, move things

This commit is contained in:
Jacob Nguyen
2023-05-08 11:36:25 -05:00
parent 9718360530
commit cd1568ff69
7 changed files with 105 additions and 61 deletions

View File

@@ -18,6 +18,7 @@ type AnyCommandInteraction =
| ChatInputCommandInteraction
| MessageContextMenuCommandInteraction
| UserContextMenuCommandInteraction;
export function isMessageComponent(i: InteractionTypable): i is AnyMessageComponentInteraction {
return i.type === InteractionType.MessageComponent;
}