Skip to content

Add line break for message() function #15

Answered by localhousee
localhousee asked this question in Q&A
Discussion options

You must be logged in to vote

Solved with PHP_EOL constant
DisordAlert::message("asd" . PHP_EOL . "qwe");

Idk if people is used to type PHP_EOL instead of "\n" like Javascript or Python or any language for add a new line in a string

Replies: 1 comment

Comment options

You must be logged in to vote
0 replies
Answer selected by localhousee
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
1 participant