Ask coding questions

← Back to all posts
Do Discord slash commands support multiline arguments?

Hey all,

I'm making a Discord bot which parses some given input. This input will almost always be multiline.

Right now, I'm using message listeners to run my commands like before we had slash commands. Though, my code's getting a little messy, and I'd like to move over to slash commands if possible. Though, given the requirements of the bot, I don't know if this is possible.

Does anyone know if multiline arguments in slash commands are a thing? I'd like to know before switching over.