mirror of
https://github.com/musix-org/musix-oss
synced 2025-07-07 01:20:48 +00:00
Fix code to work on this decade 1/x
This commit is contained in:
@ -6,10 +6,9 @@ module.exports = {
|
||||
alias: ["p", "music"],
|
||||
usage: "<song name>",
|
||||
description: "Play some music.",
|
||||
onlyDev: false,
|
||||
permission: "none",
|
||||
category: "play",
|
||||
async execute(msg, args, client, Discord, command) {
|
||||
async execute(msg, args, client, command) {
|
||||
const searchString = args.slice(1).join(" ");
|
||||
const url = args[1] ? args[1].replace(/<(.+)>/g, "$1") : "";
|
||||
const queue = client.queue.get(msg.guild.id);
|
||||
@ -399,4 +398,4 @@ async function searchSong(data, client, msg, voiceChannel) {
|
||||
)}\n${client.messages.failedToLoad + failed}`;
|
||||
}
|
||||
lmsg.edit(message);
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user