Fix replies not being sent correctly
This commit is contained in:
parent
79c619fe19
commit
9b39b1833e
1 changed files with 5 additions and 1 deletions
4
index.js
4
index.js
|
@ -127,7 +127,11 @@ const getConnection = () => {
|
||||||
};
|
};
|
||||||
|
|
||||||
const say = (channel, message) => {
|
const say = (channel, message) => {
|
||||||
|
if (channel.startsWith('#')) {
|
||||||
listenClient.say(channel, message);
|
listenClient.say(channel, message);
|
||||||
|
} else {
|
||||||
|
listenClient.say(`#${channel}`, message);
|
||||||
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
if (!Config.IgnorePNSL) {
|
if (!Config.IgnorePNSL) {
|
||||||
|
|
Loading…
Reference in a new issue