From c484753ee15dbe2a5ce9c6297f22fabb52ce3b7e Mon Sep 17 00:00:00 2001 From: Unknown Date: Sat, 24 Feb 2018 14:59:35 -0500 Subject: New Command system --- commands/Utility/suggest.js | 24 ++++++++++++++++++++++++ 1 file changed, 24 insertions(+) create mode 100644 commands/Utility/suggest.js (limited to 'commands/Utility/suggest.js') diff --git a/commands/Utility/suggest.js b/commands/Utility/suggest.js new file mode 100644 index 0000000..831d222 --- /dev/null +++ b/commands/Utility/suggest.js @@ -0,0 +1,24 @@ +exports.run = (bot, msg, args) => { + const { RichEmbed } = require('discord.js'); + bot.channels.get('416726932927938570').send( + new RichEmbed() + .setColor (0x00ae86) + .setTitle('Suggestion') + .setDescription('This is a suggestion from a community member for something relating to the server. Please rate it based on your opinion, and a staff member will decide what to do with the suggestion.') + .addField('Suggestion Contents', args.join(' ')) + ).then(message => { + message.react('\u2705'); + message.react('\u274E'); + }); +}; + +exports.conf = { + aliases: [], + guildOnly: true, +}; + +exports.help = { + name: 'suggest', + description: 'Suggest a feature for the bot or the server.', + usage: '<...suggestion>', +}; -- cgit v1.2.3