too-long-for-discord names continued in message

This commit is contained in:
RNLFoof 2023-09-09 21:47:24 -04:00 committed by Cadence Ember
parent 8b7c47e369
commit 5daef9ae47
2 changed files with 43 additions and 7 deletions

View file

@ -1436,8 +1436,8 @@ test("event2message: overly long usernames are shifted into the message content"
messagesToDelete: [],
messagesToEdit: [],
messagesToSend: [{
username: "I am BLACK I am WHITE I am SHORT I am LONG I am EVERYTHING YOU THINK IS IMPORTAN",
content: "**T and I DON'T MATTER**: testing the member state cache",
username: "I am BLACK I am WHITE I am SHORT I am LONG I am EVERYTHING YOU THINK IS",
content: "**IMPORTANT and I DON'T MATTER**\ntesting the member state cache",
avatar_url: undefined
}]
}
@ -1468,7 +1468,7 @@ test("event2message: overly long usernames are not treated specially when the ms
messagesToDelete: [],
messagesToEdit: [],
messagesToSend: [{
username: "I am BLACK I am WHITE I am SHORT I am LONG I am EVERYTHING YOU THINK IS IMPORTAN",
username: "I am BLACK I am WHITE I am SHORT I am LONG I am EVERYTHING YOU THINK IS",
content: "\\* I am BLACK I am WHITE I am SHORT I am LONG I am EVERYTHING YOU THINK IS IMPORTANT and I DON'T MATTER looks at the start of the message",
avatar_url: undefined
}]