Open karelkryda opened 3 years ago
well there are various ways like ,
callback({channel,interaction}) =>{ if(!channel.guild) // means it is in dm if(!interaction.guild) // means it is in dm }
There is a guildOnly attribute within an ICommand
Close?
Hi, how can I check if slash command was called from DM or from server? I need to set some slash commands to work only on servers and not in DMs. Thanks