mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-14 03:09:59 +00:00
Fixed select menu bug
This commit is contained in:
@@ -187,8 +187,8 @@ export default class Play extends DiscordModule {
|
||||
instance.addTrackToQueue(song);
|
||||
}
|
||||
|
||||
if (hybridData.getSelectMenu().message instanceof Message)
|
||||
await (hybridData.getSelectMenu().message as Message).edit({ components: [] });
|
||||
if (hybridData.getStringSelectMenu().message instanceof Message)
|
||||
await (hybridData.getStringSelectMenu().message as Message).edit({ components: [] });
|
||||
|
||||
return await sendHybridInteractionMessageResponse(
|
||||
hybridData,
|
||||
|
||||
Reference in New Issue
Block a user