Add a few more escape sequences to BishiBashi information message conversion.
This commit is contained in:
parent
98b836b96e
commit
a0307f9ab2
@ -85,6 +85,8 @@ class TheStarBishiBashi(
|
||||
def __escape_string(self, data: Union[int, str]) -> str:
|
||||
data = str(data)
|
||||
data = data.replace("#", "##")
|
||||
data = data.replace("\r\n", "#n")
|
||||
data = data.replace("\r", "#n")
|
||||
data = data.replace("\n", "#n")
|
||||
data = data.replace(" ", "#s")
|
||||
data = data.replace(",", "#,")
|
||||
|
Loading…
Reference in New Issue
Block a user