Bene
Bene
DIAdiscord.js - Imagine an app
Created by Bene on 1/14/2023 in #djs-questions
DiscordAPIError: Interaction has already been acknowledged.
But what is the reply to the buttonclick then?
16 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/14/2023 in #djs-questions
DiscordAPIError: Interaction has already been acknowledged.
jup
16 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/14/2023 in #djs-questions
DiscordAPIError: Interaction has already been acknowledged.
I didn't
16 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/14/2023 in #djs-questions
DiscordAPIError: Interaction has already been acknowledged.
already tried it
16 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/14/2023 in #djs-questions
DiscordAPIError: Interaction has already been acknowledged.
Nope it hasn't
16 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
Ahh thanks this could work I'm so dumb thanks
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
Bro no
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
client.on("guildMemberAdd", async member => {
console.log('Jemand ist gejoint')


const buttons = new MessageActionRow()
.addComponents(
new MessageButton()
.setLabel('Begrüßen')
.setStyle('PRIMARY')
.setCustomId(member.user.id)
.setEmoji('👋'),
)

const channel = client.channels.cache.get('1037278054503956550')

channel.send({
components: [buttons]
})

})


client.on("interactionCreate", async interaction => {
if (interaction.isButton()) {
const btn_id = interaction.customId
const buttons = new MessageActionRow()
.addComponents(
new MessageButton()
.setLabel('Begrüßen')
.setStyle('PRIMARY')
.setCustomId(`customid`)
.setEmoji('👋')
.setDisabled('true'),
)
await interaction.update({ components: [buttons] })


interaction.followUp(`${interaction.user} begrüßt <@${btn_id}>`)


}
})
client.on("guildMemberAdd", async member => {
console.log('Jemand ist gejoint')


const buttons = new MessageActionRow()
.addComponents(
new MessageButton()
.setLabel('Begrüßen')
.setStyle('PRIMARY')
.setCustomId(member.user.id)
.setEmoji('👋'),
)

const channel = client.channels.cache.get('1037278054503956550')

channel.send({
components: [buttons]
})

})


client.on("interactionCreate", async interaction => {
if (interaction.isButton()) {
const btn_id = interaction.customId
const buttons = new MessageActionRow()
.addComponents(
new MessageButton()
.setLabel('Begrüßen')
.setStyle('PRIMARY')
.setCustomId(`customid`)
.setEmoji('👋')
.setDisabled('true'),
)
await interaction.update({ components: [buttons] })


interaction.followUp(`${interaction.user} begrüßt <@${btn_id}>`)


}
})
This is the Code and I'm trying to filter the interaction
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
wait a sec
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
Nononono the Person who pushes the button can like welcome the person who joined
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
I send the code rl quick
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
I don't need the Info from the interaction.user I wanna have the user ID of the Person just joined
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
Jep, I know so I push it trough with the Button custom ID
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
jep
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
so from the user that just joined
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 1/7/2023 in #djs-questions
Button UserID push through
I got discord.js v13.12.0 and node 18
30 replies
DIAdiscord.js - Imagine an app
Created by Bene on 12/9/2022 in #djs-questions
roleMembers.slice is not a function
Node 18
4 replies
DIAdiscord.js - Imagine an app
Created by Bene on 12/9/2022 in #djs-questions
roleMembers.slice is not a function
discord.js v13
4 replies
DIAdiscord.js - Imagine an app
Created by Bene on 12/5/2022 in #djs-questions
How to do two interaction
so thanks its now fixxed
59 replies