Closed evanye closed 3 years ago
yes it is possible to include newlines when sending messages.
I would suggest using f-strings when composing a message since its easy to format string and faster than using the +
method
msg = f'a \\n {b}'
@leogomezz4t i think this issue can be closed
thank you @bryanperez43.
I think to add a newline character you have to use \\n
instead of \n
Thanks for the workaround! Slightly concerned that there might be some vulnerability here involving unescaped characters, but not sure that folks care since it's a personal project. Don't think I care :)
title says it all.
yields