Time
Time
Explore posts from servers
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
why did i do this?
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
i would never ever find this
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
thank youuuuu so much
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
yes ...
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
what do you mean with this
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
yes
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
i mean console.log("Interactions") is printed but not console.log("Interactions", interaction)
16 replies
DIAdiscord.js - Imagine a boo! 👻
Created by Time on 5/3/2024 in #djs-questions
application did not respond
async function run() {
client.login(process.env["BOT_TOKEN"]);
// moduleManager.listenCommands();
moduleManager.listenError();
client.once(Events.ClientReady, () => {
moduleManager.load();
});
console.log("Interactions");
client.on(Events.InteractionCreate, async (interaction) => {
console.log("Interaction", interaction);
if (!interaction.isCommand()) return;
await interaction.deferReply();
});
}
async function run() {
client.login(process.env["BOT_TOKEN"]);
// moduleManager.listenCommands();
moduleManager.listenError();
client.once(Events.ClientReady, () => {
moduleManager.load();
});
console.log("Interactions");
client.on(Events.InteractionCreate, async (interaction) => {
console.log("Interaction", interaction);
if (!interaction.isCommand()) return;
await interaction.deferReply();
});
}
console.log("Interactions") is printed
16 replies