Don't delete original message

This commit is contained in:
loicbersier 2019-11-22 16:30:31 +01:00
parent 6ff2b1211c
commit 8043b0261e

View file

@ -70,7 +70,6 @@ class midifyCommand extends Command {
exec(`timidity ${output} -Ow -o - | ffmpeg -i - -acodec libmp3lame -ab 64k ${output2}`) exec(`timidity ${output} -Ow -o - | ffmpeg -i - -acodec libmp3lame -ab 64k ${output2}`)
.then(() => { .then(() => {
loadingmsg.delete(); loadingmsg.delete();
message.delete();
return message.channel.send({files: [output2]}) return message.channel.send({files: [output2]})
.catch(err => { .catch(err => {
console.error(err); console.error(err);