summaryrefslogtreecommitdiff
path: root/src/commands/voice
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/voice')
-rw-r--r--src/commands/voice/join.ts23
1 files changed, 23 insertions, 0 deletions
diff --git a/src/commands/voice/join.ts b/src/commands/voice/join.ts
new file mode 100644
index 0000000..07e00db
--- /dev/null
+++ b/src/commands/voice/join.ts
@@ -0,0 +1,23 @@
+import { Command, CommandoMessage } from 'discord.js-commando';
+import emoji from 'emoji-random';
+
+module.exports = class JoinVoice extends Command {
+ constructor(client) {
+ super(client, {
+ name: 'join',
+ group: 'voice',
+ memberName: 'join',
+ description: 'Tells uwufier to join your voice channel.',
+ examples: ['uwu!join'],
+ userPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ clientPermissions: ['SEND_MESSAGES', 'READ_MESSAGE_HISTORY'],
+ throttling: {
+ usages: 5,
+ duration: 30
+ }
+ });
+ }
+ run(msg: CommandoMessage) {
+ msg.reply(`\`uwu!join\` has been depricated in favour of a simpler user expirience. Uwufier will now join your channel whenever you request to play something with \`uwu!play\`! ${emoji.random()}`)
+ }
+}; \ No newline at end of file