AlexzanderFlores / WOKCommands

130 stars 60 forks source link

message.reply is not a function #98

Closed zVapor-Dev closed 1 year ago

zVapor-Dev commented 3 years ago

So I have this issue where when I run my docs command it gives an error stating that message.reply is not a function. while it ran fine before I installed WOKCommands

KartikeSingh commented 3 years ago

i think your command is an slash command, and slash command don't provides you the message object, so maybe do something like

callback({channel,interaction}) =>{ channel.send(<@${interaction.member.user.id}>) }