generated from Baipyrus/DiscordJS-Template
bugfix: find responses only by keyword
This commit is contained in:
parent
0688dad57b
commit
ab53486ab3
@ -272,7 +272,6 @@ async function responseAutocomplete(interaction) {
|
|||||||
? []
|
? []
|
||||||
: await Responses.findAll({
|
: await Responses.findAll({
|
||||||
where: {
|
where: {
|
||||||
guild: guildId,
|
|
||||||
keyword: found.id
|
keyword: found.id
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user