This commit is contained in:
Loïc Bersier 2019-07-09 09:49:37 +02:00
parent b6e4387c73
commit c241bcd297

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);
}
}
}
}