ghe8t4ui
This commit is contained in:
parent
bd11475896
commit
20e4772015
1 changed files with 1 additions and 1 deletions
|
@ -79,7 +79,7 @@ module.exports = {
|
|||
const blacklist = ((await knex.select("blacklist").from("blacklists").where("user", interaction.user.id).first()) ?? { blacklist: '' }).blacklist.trim().split(" ");
|
||||
const choices = [];
|
||||
for (const tag of blacklist) {
|
||||
if (value == "" || tag.startsWith(value.trim()))
|
||||
if (tag != "" && (value == "" || tag.startsWith(value.trim())))
|
||||
choices.push(tag);
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue