mirror of
https://github.com/musix-org/musix-oss
synced 2024-12-23 03:33:17 +00:00
Update eval.js
This commit is contained in:
parent
c17baf973a
commit
41022e98c0
@ -9,7 +9,7 @@ module.exports = {
|
|||||||
if (serverQueue) {
|
if (serverQueue) {
|
||||||
let data = await Promise.resolve(ytdl.getInfo(serverQueue.songs[0].url));
|
let data = await Promise.resolve(ytdl.getInfo(serverQueue.songs[0].url));
|
||||||
}
|
}
|
||||||
if (message.author.id !== client.global.devId) return message.channel.send(':x: You are not allowed to do that!');
|
if (message.author.id !== client.config.devId) return message.channel.send(':x: You are not allowed to do that!');
|
||||||
const input = message.content.slice(prefix.length + 4);
|
const input = message.content.slice(prefix.length + 4);
|
||||||
let output;
|
let output;
|
||||||
try {
|
try {
|
||||||
|
Loading…
Reference in New Issue
Block a user