diff options
| author | 8cy <[email protected]> | 2020-05-07 14:53:02 -0700 |
|---|---|---|
| committer | 8cy <[email protected]> | 2020-05-07 14:53:02 -0700 |
| commit | d39052e139057b8303d79bb4192f677879797c92 (patch) | |
| tree | 650c50f569f19f114be01ebe3dbf0aabfd6b54bc /src/commands/voice/join.ts | |
| parent | remove this bc this is unused and outdated (diff) | |
| download | dep-core-d39052e139057b8303d79bb4192f677879797c92.tar.xz dep-core-d39052e139057b8303d79bb4192f677879797c92.zip | |
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
Diffstat (limited to 'src/commands/voice/join.ts')
| -rw-r--r-- | src/commands/voice/join.ts | 23 |
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 |