We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e3eb9c1 commit 2976c85Copy full SHA for 2976c85
src/irc.ts
@@ -1407,9 +1407,11 @@ export class Client extends EventEmitter {
1407
if (typeof text === 'undefined') {
1408
return;
1409
}
1410
- await Promise.all(text.toString().split(/\r?\n/).filter((line) =>
1411
- line.length > 0
1412
- ).map((line) => this.say(channel, '\u0001ACTION ' + line + '\u0001')));
+ await Promise.all(
+ this._splitMessage(
+ channel + '\u0001ACTION ' + '\u0001', text
1413
+ ).map((line) => this.say(channel, '\u0001ACTION ' + line + '\u0001'))
1414
+ );
1415
1416
1417
// E.g. isUserPrefixMorePowerfulThan("@", "&")
0 commit comments