bot ignore self ofo

on disc
This commit is contained in:
Lamp 2019-06-27 17:42:57 -07:00
parent 3269121dbd
commit 8ebb27dd57
1 changed files with 1 additions and 1 deletions

View File

@ -38,7 +38,7 @@ async function messagehandle(data) {
}
dClient.on("local_message", async message => {
if (message.channel.id != "593943518351982603") return;
if (message.channel.id != "593943518351982603" || message.author.id == dClient.user.id) return;
if (!client.roomID) return;
client.socket.publish(client.roomID, {
"type": "chat",