diff options
| author | Unknown <jtsshieh@outlook.com> | 2018-05-03 22:43:19 -0400 |
|---|---|---|
| committer | Unknown <jtsshieh@outlook.com> | 2018-05-03 22:43:19 -0400 |
| commit | 98c9b5116530d0f5daabfa27810fd81141a7f095 (patch) | |
| tree | f1feae935f9365a529320d8f1e960a50d8a710c9 /commands | |
| parent | 871e8c68be58d5d925a4029db703e2156aa33ad4 (diff) | |
| download | PokeBot-98c9b5116530d0f5daabfa27810fd81141a7f095.tar.gz PokeBot-98c9b5116530d0f5daabfa27810fd81141a7f095.tar.bz2 PokeBot-98c9b5116530d0f5daabfa27810fd81141a7f095.zip | |
bye bye music
Diffstat (limited to 'commands')
| -rw-r--r-- | commands/Music/play.js | 30 | ||||
| -rw-r--r-- | commands/Music/skip.js | 23 |
2 files changed, 0 insertions, 53 deletions
diff --git a/commands/Music/play.js b/commands/Music/play.js deleted file mode 100644 index c494ea2..0000000 --- a/commands/Music/play.js +++ /dev/null @@ -1,30 +0,0 @@ -/** ************************************** - * - * Play: Plugin for PokeBot that performs music player actions. - * Copyright (C) 2018 TheEdge, jtsshieh, Alee - * - * Licensed under the Open Software License version 3.0 - * - * *************************************/ - -exports.run = async (bot, msg, args) => { - const music = bot.plugins.music; - if (args[0] == 'sc') { - args.shift(); - const track = await music.resolveTrack(args.join(' '), true); - return music.play(bot, msg, track.track); - } - const track = await music.resolveTrack(args.join(' ')); - return music.play(bot, msg, track.track); -}; - -exports.conf = { - aliases: [], - guildOnly: true, -}; - -exports.help = { - name: 'play', - description: 'Plays a song for you. If sc is not chosen, it\'ll be yt', - usage : '<sc> <search>', -}; diff --git a/commands/Music/skip.js b/commands/Music/skip.js deleted file mode 100644 index 96cecf6..0000000 --- a/commands/Music/skip.js +++ /dev/null @@ -1,23 +0,0 @@ -/** ************************************** - * - * Skip: Plugin for PokeBot that performs music player actions. - * Copyright (C) 2018 TheEdge, jtsshieh, Alee - * - * Licensed under the Open Software License version 3.0 - * - * *************************************/ - -exports.run = async (bot, msg) => { - const music = bot.plugins.music; - music.skip(bot, msg); -}; - -exports.conf = { - aliases: [], - guildOnly: true, -}; - -exports.help = { - name: 'skip', - description: 'Skip a song in the queue.', -}; |
