StellarFr0st
StellarFr0st
DIAdiscord.js - Imagine an app
Created by StellarFr0st on 11/25/2024 in #djs-questions
Slash commands not working
Oh yeah, stupid mistake!
7 replies
DIAdiscord.js - Imagine an app
Created by StellarFr0st on 11/25/2024 in #djs-questions
Slash commands not working
I just get The application did not respond in discord when I type the command
7 replies
DIAdiscord.js - Imagine an app
Created by StellarFr0st on 11/25/2024 in #djs-questions
Slash commands not working
My discord.js version is discord.js@14.16.3 and my node version is v20.18.0
7 replies
DIAdiscord.js - Imagine an app
Created by StellarFr0st on 11/25/2024 in #djs-questions
Slash commands not working
The command I am trying to do is user, and this is my user.js command
const { SlashCommandBuilder } = require('discord.js');

module.exports = {
data: new SlashCommandBuilder()
.setName('user')
.setDescription('Replies with the user info'),
async execute(interaction) {
console.log(`User info requested by ${interaction.user.username}`);
await interaction.reply(`Your username is **${interaction.user.username}** and you joined the server on **${interaction.member.joinedAt}**`);
},
}
const { SlashCommandBuilder } = require('discord.js');

module.exports = {
data: new SlashCommandBuilder()
.setName('user')
.setDescription('Replies with the user info'),
async execute(interaction) {
console.log(`User info requested by ${interaction.user.username}`);
await interaction.reply(`Your username is **${interaction.user.username}** and you joined the server on **${interaction.member.joinedAt}**`);
},
}
7 replies
DIAdiscord.js - Imagine an app
Created by StellarFr0st on 5/24/2024 in #djs-questions
Help with OAuth
@sïř.jõ https://discordjs.guide/oauth2/#getting-an-oauth2-url how come on the djs guide it has this?
6 replies