|
|
@ -207,6 +207,7 @@ client.on('messageDelete', message => { |
|
|
|
}); |
|
|
|
|
|
|
|
client.on('messageUpdate', (originalMessage, editedMessage) => { |
|
|
|
if (editedMessage.author) { |
|
|
|
if (editedMessage.author.bot) { |
|
|
|
return; |
|
|
|
} |
|
|
@ -219,6 +220,7 @@ client.on('messageUpdate', (originalMessage, editedMessage) => { |
|
|
|
.setTimestamp() |
|
|
|
.setColor('006699'); |
|
|
|
client.guilds.cache.get("826506878976000030").channels.cache.get("826876551756513314").send(editEmbed).catch(console.error); |
|
|
|
} |
|
|
|
}); |
|
|
|
|
|
|
|
client.on('channelCreate', channel => { |
|
|
|