Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if (command === "movie") {
- const title = args.join(" ");
- const embed = new Discord.RichEmbed()
- .setFooter(`Requested by ${message.author.username} | Pending`)
- .addField("Movie", `${title}`);
- message.channel.send(embed)
- .then(message.delete(500))
- .catch(() => console.log('error caught'));
- const filter = (reaction, user) => { return reaction.emoji.name === '👍' && user.id === '945205084089942023' };
- message.awaitReactions(filter).then(collected => {
- const reactionResponseEmbed = new Discord.RichEmbed()
- .setFooter(`Requested by ${message.author.username} | Filled`)
- .setColor("#FFFFFF")
- .addField("Movie", `${title}`);
- message.channel.send(reactionResponseEmbed);
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement