AlexzanderFlores / WOKCommands

130 stars 61 forks source link

FIX: Stop errors when the interaction is not a SLASH command #109

Closed wrsjr04 closed 3 years ago

wrsjr04 commented 3 years ago

Fix for #108

pazzazzo commented 3 years ago

no it's not good, I try that at the beginning but the problem is that even if the interaction received is not SLASH commands, it is still taken into account by the handler,

sorry for the language mistakes, i don't speak english

pazzazzo commented 3 years ago

Why is fix for my fix?

My fix work

wrsjr04 commented 3 years ago

Why is fix for my fix?

My fix work

This is a fox for your fox because you only edited the js files which are "distribution" files and when it gets compiled again it would be overwritten. You need to edit the ts files to make sure that it doesn't get overwritten and lost and so that it is a part of the source code.