mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 02:00:20 +00:00
Update index.js
This commit is contained in:
parent
ed5702c964
commit
4fb86fade4
2
index.js
2
index.js
@ -328,7 +328,7 @@ ${serverQueue.songs.map(song => `**-** ${song.title}`).join("\n")}
|
||||
serverQueue.connection.dispatcher.end('Stop');
|
||||
}
|
||||
if (msg.content.startsWith('>eval')) {
|
||||
if (eval(args) === process.env.BOT_TOKEN || eval(args === process.env.API_KEY)) return msg.channel.send(':x: I\'m sorry, The token and api key is private!')
|
||||
if (eval(args) === process.env.BOT_TOKEN || eval(args) === process.env.API_KEY) return msg.channel.send(':x: I\'m sorry, The token and api key is private!')
|
||||
const args = msg.content.slice(6)
|
||||
msg.channel.send(eval(args));
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user