bugfix: find responses by keyword

This commit is contained in:
Baipyrus 2024-04-05 10:51:01 +02:00
parent 9b4d5a1d02
commit 7f39be34ad

View File

@ -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
}
});