fufufufuf
This commit is contained in:
parent
158aebf0d9
commit
55cfcb924c
|
@ -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(' ') || '')}`,
|
||||||
|
|
Loading…
Reference in New Issue