Giphy Command

This commit is contained in:
Daniel Odendahl Jr
2017-05-25 22:24:35 +00:00
parent 56618b15e9
commit c030ad7b0d
8 changed files with 54 additions and 7 deletions
+2 -1
View File
@@ -33,7 +33,8 @@ module.exports = class StarCommand extends Command {
.setDescription(message.content)
.setImage(message.attachments.first() ? message.attachments.first().url : null)
.setFooter(moment(message.createdTimestamp).format('MMMM Do YYYY h:mm:ss A'));
return channel.send({ embed });
await channel.send({ embed });
return null;
} catch (err) {
return msg.say(`${err.name}: ${err.message}`);
}