forked from Supositware/Haha-Yes
Delete original message
This commit is contained in:
parent
8c3f193163
commit
7cc57629cf
1 changed files with 2 additions and 1 deletions
|
@ -108,7 +108,8 @@ class posterCommand extends Command {
|
||||||
console.error(err);
|
console.error(err);
|
||||||
return message.channel.send('An error just occured! is it a static image?');
|
return message.channel.send('An error just occured! is it a static image?');
|
||||||
}
|
}
|
||||||
return message.channel.send({files: [output]})
|
message.delete();
|
||||||
|
return message.channel.send(`Made by ${message.author.username}`,{files: [output]})
|
||||||
.catch(() => {
|
.catch(() => {
|
||||||
return message.channel.send('The image is too big to fit on discord!');
|
return message.channel.send('The image is too big to fit on discord!');
|
||||||
});
|
});
|
||||||
|
|
Loading…
Reference in a new issue