kileroxx
kileroxx
DIAdiscord.js - Imagine an app
Created by kileroxx on 8/30/2024 in #djs-questions
how can i use buttons after restart without use again a command
thx
4 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
perfect but need to import the slashcommandhandler or is this doesent matter?
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
i only have a slashcommandbuilder
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
but i dont need a extra handle? someone said its loading like a / command
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
Oh okay
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
const { ContextMenuCommandBuilder, ApplicationCommandType } = require('discord.js');


module.exports = {
data: new ContextMenuCommandBuilder()
.setName('Get User Avatar')
.setType(ApplicationCommandType.User)
.toJSON(),

async execute(interaction) {
const user = interaction.targetUser;
const avatarURL = user.avatarURL({ dynamic: true, size: 2048 });

await interaction.reply({ content: `Avatar of ${user.username}: ${avatarURL}`, ephemeral: true });
}
};
const { ContextMenuCommandBuilder, ApplicationCommandType } = require('discord.js');


module.exports = {
data: new ContextMenuCommandBuilder()
.setName('Get User Avatar')
.setType(ApplicationCommandType.User)
.toJSON(),

async execute(interaction) {
const user = interaction.targetUser;
const avatarURL = user.avatarURL({ dynamic: true, size: 2048 });

await interaction.reply({ content: `Avatar of ${user.username}: ${avatarURL}`, ephemeral: true });
}
};
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
someone said that the command loading like a slash command but its doesent work for me:(
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 5/2/2024 in #djs-questions
ContextMenu Build
data: new ContextMenuCommandBuilder() ^ TypeError: ContextMenuCommandBuilder is not a constructor at Object.<anonymous> (C:\Users\jakso\Desktop\bsbot\commands\test.js:5:11) at Module._compile (node:internal/modules/cjs/loader:1368:14) at Module._extensions..js (node:internal/modules/cjs/loader:1426:10) at Module.load (node:internal/modules/cjs/loader:1205:32) at Module._load (node:internal/modules/cjs/loader:1021:12) at Module.require (node:internal/modules/cjs/loader:1230:19) at require (node:internal/modules/helpers:179:18) at Object.<anonymous> (C:\Users\jakso\Desktop\bsbot\index.js:13:21) at Module._compile (node:internal/modules/cjs/loader:1368:14) at Module._extensions..js (node:internal/modules/cjs/loader:1426:10)
15 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 4/6/2024 in #djs-questions
Verify Modal
did that mean i need to change this place:
const collector = interaction.channel.createMessageComponentCollector({ filter, time: 15000 });
const collector = interaction.channel.createMessageComponentCollector({ filter, time: 15000 });
18 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 4/6/2024 in #djs-questions
Verify Modal
but i need for 13
18 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 4/6/2024 in #djs-questions
Verify Modal
Does that mean I can't use a collector for a modal at all?
18 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 4/6/2024 in #djs-questions
Verify Modal
No description
18 replies
DIAdiscord.js - Imagine an app
Created by kileroxx on 4/6/2024 in #djs-questions
Verify Modal
18 replies