AlexzanderFlores / WOKCommands

130 stars 60 forks source link

Help command not working #125

Closed xaxa-0x3F closed 3 years ago

xaxa-0x3F commented 3 years ago

Error ~> https://sourceb.in/uut8qUq8K8 My code ~>https://sourceb.in/jYLaEA90yC Issue: Everytime I try to react on the help command this is error is thrown. I've checked over my code and cannot see why it is doing this, I've even tried re-writing some.

Wolletje01 commented 3 years ago

I have found the issue:

In your node_modules and thn wokcommands and then command then help then !Reactionlisteren You have the change the 139th line to

_this.message.edit('', { embed: _this.embed });

instead of

_this.message.edit( _this.embed );
xaxa-0x3F commented 3 years ago

I have found the issue:

In your node_modules and thn wokcommands and then command then help then !Reactionlisteren You have the change the 139th line to

_this.message.edit('', { embed: _this.embed });

instead of

_this.message.edit( _this.embed );

All I had to do was set the name on the help commands using, .setDisplayName('Ahega0')