Closed ASPNyan closed 2 years ago
The code for the mentioned portion is
category: 'testing',
description: 'Used to make an Embed. Use "ssp!embed help" for help.',
slash: true,
testOnly: true,
minArgs: 10,
maxArgs: 16,
expectedArgs: '<title> <subtitle> <ephemeral> <colour-r> <colour-g> <colour-b> <usefield2> <usefield3> <heading1> <text1> <heading2> <text2> <inline2> <heading3> <text3> <inline3> ',
expectedArgsTypes: ['STRING', 'STRING', 'BOOLEAN', 'NUMBER', 'NUMBER', 'NUMBER', 'BOOLEAN', 'BOOLEAN', 'STRING', 'STRING', 'STRING', 'STRING', 'BOOLEAN', 'STRING', 'STRING', 'BOOLEAN'],
The space between <inline3>
and the end ' was causing the error.
Removing that fixed it
When adding specifically this one command, I get the following error
This only happens on this command and no others, but I have no clue why since there's no visible error or difference (apart from command name, description, etc.)