I tried to run a slash command like this: this.channel.sendSlash(BOT_ID, 'trade item for_items', '1', 'itemName', 'True');
I ran into an exception saying "Cannot read properties of undefined (reading 'type')"
After debugging it, I got it working again with this small adjustment.