aboutsummaryrefslogtreecommitdiff
path: root/commands/suggest.js
diff options
context:
space:
mode:
authorUnknown <jtsshieh@outlook.com>2018-02-23 20:22:56 -0500
committerUnknown <jtsshieh@outlook.com>2018-02-23 20:22:56 -0500
commit4a455906870e49452ab8d88b793aa1e354499e42 (patch)
treee501b1490dd2d1a39f5e82573a8a73ded708f285 /commands/suggest.js
parent772caab56edc08e8a0ef2588626af77ef09c82fd (diff)
downloadPokeBot-4a455906870e49452ab8d88b793aa1e354499e42.tar.gz
PokeBot-4a455906870e49452ab8d88b793aa1e354499e42.tar.bz2
PokeBot-4a455906870e49452ab8d88b793aa1e354499e42.zip
PLease work
Diffstat (limited to 'commands/suggest.js')
-rw-r--r--commands/suggest.js24
1 files changed, 24 insertions, 0 deletions
diff --git a/commands/suggest.js b/commands/suggest.js
new file mode 100644
index 0000000..0f1898e
--- /dev/null
+++ b/commands/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: 'suggset',
+ description: 'Suggest a feature.',
+ usage: 'suggest <...Suggestion>',
+};