mods icon indicating copy to clipboard operation
mods copied to clipboard

Store Command Info does not work with slash commands

Open Mikaru0Mystic opened this issue 3 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')

Mikaru0Mystic avatar Jul 17 '22 19:07 Mikaru0Mystic