Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
guimc233 committed Jul 6, 2024
1 parent 65e3196 commit f681d50
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/kotlin/ltd/guimc/plugin/quotly/QuotLyCommand.kt
Original file line number Diff line number Diff line change
Expand Up @@ -81,7 +81,7 @@ object QuotLyCommand: SimpleCommand(
" \"url\": \"${member.avatarUrl}\"\n" +
" }\n" +
" },\n" +
" \"text\": \"${textMessage.replace("\n", "\\n")}\",\n" +
" \"text\": \"${textMessage.replace("\n", "\\\\n").replace("\r", "\\\\r")}\",\n" +
" }\n" +
" ]\n" +
" }")
Expand Down

0 comments on commit f681d50

Please sign in to comment.