This commit is contained in:
parent
68afe5bdb3
commit
7b1e116879
@ -10,9 +10,11 @@ module.exports = {
|
||||
|
||||
if (interaction.isAutocomplete()) {
|
||||
const focusedValue = interaction.options.getFocused();
|
||||
console.log(focusedValue);
|
||||
|
||||
if (interaction.commandName === 'wdd') {
|
||||
console.log(focusedValue);
|
||||
try {
|
||||
|
||||
const [rows] = await conn.execute(
|
||||
'SELECT name,value FROM choices LIMIT 25',
|
||||
[`%${focusedValue}%`]
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user