Energy Drink Addict
Energy Drink Addict
DIAdiscord.js - Imagine an app
Created by Energy Drink Addict on 5/27/2024 in #djs-questions
Global Commands Not Showing In DM
Node v18.18.0 Discord.js v14.15.2 Sorry for the repost, but the last thread was bugged, as it was showing it was resolved. At the Discord.js tutorial for DM Permissions we are told:
By default, globally-deployed commands are also available for use in DMs. You can use SlashCommandBuilder#setDMPermission() to disable this behaviour.
I have followed the guide so far, including the portion regarding global slash commands. I think my code is correct for both my global command builder call, and my command However, I'm unable to command my bot through the DMs. Any help would be greatly appreciated.
4 replies
DIAdiscord.js - Imagine an app
Created by Energy Drink Addict on 5/26/2024 in #djs-questions
slash command DM
Node v18.18.0 Discord.js v14.15.2 Not yet resolved At the Discord.js tutorial for DM Permissions we are told:
By default, globally-deployed commands are also available for use in DMs. You can use SlashCommandBuilder#setDMPermission() to disable this behaviour.
I have followed the guide so far, including the portion regarding global slash commands. I think my code is correct for both my global command builder call, and my command However, I'm unable to command my bot through the DMs. Any help would be greatly appreciated.
2 replies