From d39052e139057b8303d79bb4192f677879797c92 Mon Sep 17 00:00:00 2001 From: 8cy <50817549+8cy@users.noreply.github.com> Date: Thu, 7 May 2020 14:53:02 -0700 Subject: add cmd logging and join server logging to support server - add depreciated join cmd *lol* - fix some formatting in btc and add defaults - add zero two cmd - add fortnite alias to fortnitestats --- src/commands/voice/join.ts | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 src/commands/voice/join.ts (limited to 'src/commands/voice/join.ts') 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 -- cgit v1.2.3