interaction.guild
When I use console.log(interaction.guild) it returns null. I also can’t get the owner id or the guild name
9 Replies
- What's your exact discord.js
npm list discord.js
and node node -v
version?
- Not a discord.js issue? Check out #other-js-ts.
- Consider reading #how-to-get-help to improve your question!
- Explain what exactly your issue is.
- Post the full error stack trace, not just the top part!
- Show your code!
- Issue solved? Press the button!Do you have the Guilds intent
intents: [
GatewayIntentBits.Guilds,
GatewayIntentBits.GuildMessages,
GatewayIntentBits.MessageContent,
GatewayIntentBits.GuildMembers,
GatewayIntentBits.DirectMessages
], It randomly stopped working
], It randomly stopped working
Is this a user app
I clicked add app and then clicked the bot one
and did this happen in a DM
No
Log interaction
Ok give me a second
There’s nothing with guild just the id
In my other server it gives me a guild option with the interaction
It’s an app and not like a normal bot, I think I clicked the wrong one
Could you tell me how to remove this app? So I can use the invite link
Thanks