This commit is contained in:
parent
7b1e116879
commit
c3ecafc3be
@ -9,10 +9,10 @@ module.exports = {
|
|||||||
|
|
||||||
|
|
||||||
if (interaction.isAutocomplete()) {
|
if (interaction.isAutocomplete()) {
|
||||||
const focusedValue = interaction.options.getFocused();
|
const focusedValue = interaction.options.getFocused(true);
|
||||||
|
|
||||||
if (interaction.commandName === 'wdd') {
|
if (interaction.commandName === 'wdd') {
|
||||||
console.log(focusedValue);
|
console.error(focusedValue);
|
||||||
try {
|
try {
|
||||||
|
|
||||||
const [rows] = await conn.execute(
|
const [rows] = await conn.execute(
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user