Fixed select menu bug

This commit is contained in:
2023-06-04 16:43:55 +07:00
parent 9f7f5c7376
commit ac1fd46ae3
6 changed files with 16 additions and 16 deletions
+1 -1
View File
@@ -176,7 +176,7 @@ export async function sendHybridInteractionMessageResponse(
): Promise<Message | BaseInteraction | undefined> {
Logger.verbose(LOGGING_TAG, `Sending hybrid interaction message response, ${JSON.stringify(payload)})}`);
if (data.isApplicationCommand() || data.isButton() || data.isSelectMenu()) {
if (data.isApplicationCommand() || data.isButton() || data.isStringSelectMenu()) {
const messageComponent = data.getMessageComponentInteraction();
if (!messageComponent.replied) {