JAMPERR7
JAMPERR7
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/9/2025 in #djs-questions
Embedded App SDK
Thanks!
4 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/9/2025 in #djs-questions
Events that execute activities
Yes he has. I believe you are mistaken. You can check if you want at the link below. I believe that another server contributor should have more knowledge on the subject. In any case, thank you for contacting us.
8 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/9/2025 in #djs-questions
Events that execute activities
I discovered that it works with "embedded-app-sdk", but I can't get it to work.
8 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/9/2025 in #djs-questions
Events that execute activities
I would like to monitor when activities are performed and collect data from those who perform them.
8 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
Thanks!
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
if (!interaction.isChatInputCommand()) return;

switch(interaction.commandName) {
case "invite":
//const inviteLink = `https://discord.com/oauth2/authorize?client_id=${client.user.id}&scope=bot&permissions=8`;
const inviteLink = `https://discord.com/application-directory/1170039088791965706`;
await interaction.reply(`> Here is the link to add the bot to your server: ${inviteLink}`);
break;
if (!interaction.isChatInputCommand()) return;

switch(interaction.commandName) {
case "invite":
//const inviteLink = `https://discord.com/oauth2/authorize?client_id=${client.user.id}&scope=bot&permissions=8`;
const inviteLink = `https://discord.com/application-directory/1170039088791965706`;
await interaction.reply(`> Here is the link to add the bot to your server: ${inviteLink}`);
break;
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
Now I understand your tip. I think it's correct. I will put the beginning of the code.
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
When it runs in a server channel it works, but when it runs through DM it doesn't. I'm using a translator and it might be a little difficult to understand.
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
Another question please. Do you know why the command below does not work when the user executes the slash command in DM?
case "invite":
//const inviteLink = `https://discord.com/oauth2/authorize?client_id=${client.user.id}&scope=bot&permissions=8`;
const inviteLink = `https://discord.com/application-directory/1170039088791965706`;
await interaction.reply(`> Aqui está o link para adicionar o bot ao seu servidor: ${inviteLink}`);
break;
case "invite":
//const inviteLink = `https://discord.com/oauth2/authorize?client_id=${client.user.id}&scope=bot&permissions=8`;
const inviteLink = `https://discord.com/application-directory/1170039088791965706`;
await interaction.reply(`> Aqui está o link para adicionar o bot ao seu servidor: ${inviteLink}`);
break;
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 1/8/2025 in #djs-questions
Slash Commands
Thank you. It worked correctly.
18 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 12/25/2024 in #djs-questions
How do I make the bot appear in Discord activities?
Thanks for the help! Before talking to you, I had asked other servers in Brazil, but no one knew what Discord ACTIVITIES were. Thanks again.
7 replies
DIdiscord.js - Imagine ❄
Created by JAMPERR7 on 12/25/2024 in #djs-questions
How do I make the bot appear in Discord activities?
You need to install the "Embedded App SDK", right?
7 replies