mods icon indicating copy to clipboard operation
mods copied to clipboard

Store Command Info does not work with slash commands

Open Giingu opened this issue 2 years ago • 0 comments

  • [x] >2.0.X

Describe the bug Store Command Info does not work when used with Slash Commands

To Reproduce Steps to reproduce the behavior:

  1. Add the action on a slash command
  2. Choose search command by "None (Same Command)"
  3. Store it on a variable
  4. Try sending it on a message or whatever

Expected behavior The command name is stored and it's sent on the message

Error messages C:\Users\Giingu\Desktop\Folders\Discord Bot\My Bots\Nezuko-Checker\actions\store_command_info_MOD.js:120 `$..[?(@.name=="${cache.msg.content ^

TypeError: Cannot read properties of null (reading 'content')

Giingu avatar Jul 17 '22 19:07 Giingu