almost ready for discord.js 14!

This commit is contained in:
DJj123dj
2022-07-19 16:40:18 +02:00
parent c57507cea9
commit edc8d4bc44
20 changed files with 199 additions and 100 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ module.exports = () => {
})
client.on("interactionCreate",(interaction) => {
if (!interaction.isCommand()) return
if (!interaction.isChatInputCommand()) return
if (interaction.commandName != "remove") return
const user = interaction.options.getUser("user")