generated from Baipyrus/DiscordJS-Template
bugfix: find responses by keyword
This commit is contained in:
parent
9b4d5a1d02
commit
7f39be34ad
@ -203,8 +203,7 @@ async function infoResponse(interaction) {
|
||||
/** @type {import('../../models/responses.js').Response[]} */
|
||||
const responses = await Responses.findAll({
|
||||
where: {
|
||||
guild: interaction.guildId,
|
||||
name: found.id
|
||||
keyword: found.id
|
||||
}
|
||||
});
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user