This commit is contained in:
ChomeNS 2023-02-28 14:22:33 +07:00
parent 76302ea658
commit 88f31a8753

View file

@ -180,7 +180,7 @@ module.exports = {
switch (args[0]) { switch (args[0]) {
case 'play': case 'play':
case 'playurl': // deprecated case 'playurl': // deprecated
if (args.slice(1).startsWith('http')) { if (args.slice(1).join(' ').startsWith('http')) {
playUrl(bot, args.slice(1), false, null, selector, config) playUrl(bot, args.slice(1), false, null, selector, config)
} else { } else {
play(bot, args.slice(1), false, null, selector, config) play(bot, args.slice(1), false, null, selector, config)