StringSelectMenu breaks command

Code: https://github.com/tortenworx/truss-bank-pre-release/blob/master/src/commands/accounts.ts So what happens is that whenever I do the command, with this string select menu, It breaks. Now I narrowed down the problem to the .addOptions bit. the productsList.map() function somehow breaks it.
GitHub
truss-bank-pre-release/src/commands/accounts.ts at master · torten...
Contribute to tortenworx/truss-bank-pre-release development by creating an account on GitHub.
Solution:
I found out the problem, the description for a string select menu option has a character limit that I was surpassing leading for it to error out without logging
Jump to solution
4 Replies
Favna
Favna4mo ago
First of all this is a DiscordJS question moreso than a Sapphire question. Anyway can you properly describe what you mean by "break"
tortenwashere
tortenwashereOP4mo ago
Oops. Anyways, the interaction doesnt respond. Thats how
Solution
tortenwashere
tortenwashere4mo ago
I found out the problem, the description for a string select menu option has a character limit that I was surpassing leading for it to error out without logging
tortenwashere
tortenwashereOP4mo ago
I'm sure I can enable verbose logging but idk how, ill look it up harder next time

Did you find this page helpful?