forked from Supositware/Haha-Yes
Check for message content
Signed-off-by: loicbersier <loic.bersier1@gmail.com>
This commit is contained in:
parent
3d8f20f054
commit
788dc27c3d
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@ class messageUpdateListener extends Listener {
|
|||
|
||||
async exec(oldMessage, newMessage) {
|
||||
const logStats = await LogStats.findOne({where: {guild: newMessage.guild.id}});
|
||||
if (logStats) {
|
||||
if (logStats && oldMessage.content !== newMessage.content) {
|
||||
const channel = this.client.channels.resolve(await logStats.get('channel'));
|
||||
let Embed = this.client.util.embed()
|
||||
.setColor('NAVY')
|
||||
|
|
Loading…
Reference in a new issue