fufufufuf

This commit is contained in:
Lamp 2019-06-27 16:54:19 -07:00
parent 158aebf0d9
commit 55cfcb924c
1 changed files with 1 additions and 0 deletions

View File

@ -37,6 +37,7 @@ async function messagehandle(data) {
} }
dClient.on("local_message", async message => { dClient.on("local_message", async message => {
if (message.channel.id != "593943518351982603") return;
client.socket.publish("fcf6e7e5-1d9a-48ee-808f-a9b626ce090b", { client.socket.publish("fcf6e7e5-1d9a-48ee-808f-a9b626ce090b", {
"type": "chat", "type": "chat",
"message": `${message.member.displayName}#${message.author.discriminator}: ${message.cleanContent + (message.attachments.size > 0 && message.attachments.map(x => x.url).join(' ') || '')}`, "message": `${message.member.displayName}#${message.author.discriminator}: ${message.cleanContent + (message.attachments.size > 0 && message.attachments.map(x => x.url).join(' ') || '')}`,