This commit is contained in:
loicbersier 2019-07-11 00:31:22 +02:00
commit 3becb69642

View file

@ -158,11 +158,19 @@ class messageListener extends Listener {
.setTimestamp();
if (attach) {
return message.channel.send(embed, {files: [attach]});
} else {
return message.channel.send(embed);
}
}
if (attach) {
return message.channel.send(text, {files: [attach]});
} else {
return message.channel.send(text);
}
}
}
}