summaryrefslogtreecommitdiff
path: root/src/commands/bot
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/bot')
-rw-r--r--src/commands/bot/joinmessage.ts2
-rw-r--r--src/commands/bot/suggest.ts26
2 files changed, 27 insertions, 1 deletions
diff --git a/src/commands/bot/joinmessage.ts b/src/commands/bot/joinmessage.ts
index ed974fd..fe55627 100644
--- a/src/commands/bot/joinmessage.ts
+++ b/src/commands/bot/joinmessage.ts
@@ -24,6 +24,6 @@ module.exports = class InviteBot extends Command {
});
}
run(msg: CommandoMessage) {
- msg.reply('Hi! Thank you for inviting my bot to your server! To view the complete list of commands, do `uwu!help`. If you\'d like, you can also change the prefix using `uwu!prefix change <prefix>`. If you want to contact the lead developer for possible suggestions or to report a bug, please join the support server: https://crack.cf/uwufier-support. ' + emoji.random())
+ msg.reply('Hi! Thank you for inviting my bot to your server! To view the complete list of commands, do `uwu!help`. If you\'d like, you can also change the prefix using `uwu!prefix change <prefix>`. If you want to contact the lead developer for possible suggestions or to report a bug, please join the support server: https://crack.cf/uwufier-support. You can also do `uwu!suggest <thing>.` ' + emoji.random())
}
}; \ No newline at end of file
diff --git a/src/commands/bot/suggest.ts b/src/commands/bot/suggest.ts
new file mode 100644
index 0000000..a610a68
--- /dev/null
+++ b/src/commands/bot/suggest.ts
@@ -0,0 +1,26 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
+import { MessageEmbed } from 'discord.js';
+
+module.exports = class SuggestBot extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'suggest',
+ group: 'bot',
+ memberName: 'suggest',
+ description: 'Allows you to suggest an addition or change!',
+ examples: ['uwu!suggest add more cool commands'],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ },
+ });
+ }
+ run(msg: CommandoMessage) {
+ let emb = new MessageEmbed()
+ .setDescription(`Thank you for your suggestion! ${emoji.random()}`)
+ msg.say(emb)
+ }
+}; \ No newline at end of file