some answers can have \n
This commit is contained in:
parent
6009091ac1
commit
12be399f32
|
@ -24,7 +24,7 @@ const command = {
|
||||||
|
|
||||||
await client.say(
|
await client.say(
|
||||||
msg.channelName,
|
msg.channelName,
|
||||||
`${msg.displayName}, ${str.substring(0, 450)}`
|
`${msg.displayName}, ${str.replaceAll("\n", "").substring(0, 450)}`
|
||||||
);
|
);
|
||||||
},
|
},
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in New Issue