Zacks <3
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 11/8/2023 in #djs-questions
website doc
how?
11 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 11/8/2023 in #djs-questions
website doc
why does it do it for me?
11 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 11/8/2023 in #djs-questions
website doc
@ʎǝɹquoɯ it's the SlashCommandBuilder
11 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 11/8/2023 in #djs-questions
website doc
I’ll see when I get back
11 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 11/8/2023 in #djs-questions
website doc
Uh it’s I think the slash command builder or something
11 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
restTimeOffset: 0,
});
client.on('ready', () => {
console.log(
Logged in as ${client.user.tag}
);
});
client.on('interactionCreate', (interaction) => {
if (!interaction.isCommand()) return;
const { commandName } = interaction;
if (commandName === 'ping') {
interaction.reply('Pong!');
}
});
client.login(');
const object = {
"clientId": "1168826476133634138",
"guildId": "1168121439199707176"
};12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
like this?
12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
let me try
12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
it shows the bot has 0 commands
12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
it don't show
12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
wym?
12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
const { Client, GatewayIntentBits } = require('discord.js');
const client = new Client({
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
],
restTimeOffset: 0,
});
client.on('ready', () => {
console.log(
Logged in as ${client.user.tag}
);
});
client.on('interactionCreate', (interaction) => {
if (!interaction.isCommand()) return;
const { commandName } = interaction;
if (commandName === 'ping') {
interaction.reply('Pong!');
}
});12 replies
DIAdiscord.js - Imagine an app
•Created by Zacks <3 on 10/31/2023 in #djs-questions
how to fix my ping command not work
code:
12 replies