mirror of
https://github.com/kirameki-cafe/Yumi.git
synced 2026-09-13 18:59:19 +00:00
Add option to let user search directly from play
This commit is contained in:
@@ -101,7 +101,7 @@ export async function sendMessageOrInteractionResponse(data: Message | Interacti
|
||||
const isSlashCommand = data instanceof Interaction && data.isCommand();
|
||||
const isMessage = data instanceof Message;
|
||||
|
||||
if(isSlashCommand || (data instanceof Interaction && data.isSelectMenu())) {
|
||||
if(isSlashCommand || (data instanceof Interaction && ( data.isSelectMenu() || data.isButton()))) {
|
||||
if(!data.replied) {
|
||||
let message;
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user