'Discord.js dev version
I'm using the discord.js dev version, the guide says that the new method for interaction.isCommand() is interaction.isChatInputCommand(), however, none of those work.
module.exports = async (int, client) => {
if(!int.isChatInputCommand()) return;
//and int.isCommand() didn't work either
}
It throws int.isChatInputCommand is not a function
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source |
|---|
