DiscordSRV

DiscordSRV

86.8k Downloads

Ability to use \n in messages.yml

Recliness opened this issue ยท 3 comments

commented

Why?

This would be convenient for formatting multiple-lined messages to make the command responses easier on the eyes.

image

What and How?

The messages in messages.yml should be able to parse \n as a newline, and treat it like so in the ingame chat.

Are there alternatives?

The only alternative I can think of is making users number their lines.

For example:

1 - "abc"
2 - "discord.gg/cool"
3. - "Verification Code"

Checks

  • I have used the search at least once to check if my idea has already been suggested and perhaps already implemented.

Anything else

No response

commented

As far as I'm aware this should already be the case. Not sure how no one replied until now.

commented

Actually, this may only be when using legacy colour codes. You may have to use multiline formatting https://stackoverflow.com/questions/3790454/how-do-i-break-a-string-in-yaml-over-multiple-lines

commented

Wow, this was ages ago ๐Ÿ‘€