|
@ -243,7 +243,7 @@ client.on('messageDelete', message => { |
|
|
.setThumbnail(messageAvatar) |
|
|
.setThumbnail(messageAvatar) |
|
|
.setFooter("ID: " + messageID) |
|
|
.setFooter("ID: " + messageID) |
|
|
.setTimestamp() |
|
|
.setTimestamp() |
|
|
.setColor('ff0000'); |
|
|
.setColor('e7778b'); |
|
|
|
|
|
|
|
|
collection.findOne({ guild_id: message.guild.id}, (error, result) => { |
|
|
collection.findOne({ guild_id: message.guild.id}, (error, result) => { |
|
|
if(error) { |
|
|
if(error) { |
|
@ -266,7 +266,7 @@ client.on('messageUpdate', (originalMessage, editedMessage) => { |
|
|
.setThumbnail(editedMessage.author.avatarURL()) |
|
|
.setThumbnail(editedMessage.author.avatarURL()) |
|
|
.setFooter("ID: " + editedMessage.id) |
|
|
.setFooter("ID: " + editedMessage.id) |
|
|
.setTimestamp() |
|
|
.setTimestamp() |
|
|
.setColor('006699'); |
|
|
.setColor('c9ff00'); |
|
|
collection.findOne({ guild_id: message.guild.id}, (error, result) => { |
|
|
collection.findOne({ guild_id: message.guild.id}, (error, result) => { |
|
|
if(error) { |
|
|
if(error) { |
|
|
console.error; |
|
|
console.error; |
|
|