diff options
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.', -}; |
