Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- // Usage: suggest <message>
- if (!args[0]) return message.reply("please provide a suggestion to perform this command.");
- let suggestionChannel = message.guild.channels.find(c => c.name === "suggestions");
- suggestionChannel.send({
- embed: new Discord.RichEmbed()
- .setColor("RED")
- .setThumbnail(message.author.displayAvatarURl())
- .setTitle("**Suggestion**")
- .setDescription(`**MEMBER:** ${message.author} \n**SUGGESTION:**${args.join(" ")}`)
- })
- .then(async m => {
- await m.react(":white_check_mark:");
- await m.react(":x:");
- });
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement