mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 08:10:18 +00:00
Update index.js
This commit is contained in:
parent
ee5a55de50
commit
91098e2973
2
index.js
2
index.js
@ -23,7 +23,7 @@ client.on('message', async msg => {
|
|||||||
serverQueue.connection.dispatcher.end('Stop');
|
serverQueue.connection.dispatcher.end('Stop');
|
||||||
}
|
}
|
||||||
if (msg.content.startsWith('>eval')) {
|
if (msg.content.startsWith('>eval')) {
|
||||||
if (msg.content.includes('process.env.BOT_TOKEN') || msg.content.includes('API_KEY')) return msg.channel.send(':x: OH HELL NO IM NOT GIVING YOU THE API KEY TWAT! :x:')
|
if (msg.content.includes('process.env.BOT_TOKEN') || msg.content.includes('API_KEY')) return msg.channel.send(':x: OH HELL NO IM NOT GIVING YOU THAT! :x:')
|
||||||
const args = msg.content.slice(6)
|
const args = msg.content.slice(6)
|
||||||
msg.channel.send(eval(args));
|
msg.channel.send(eval(args));
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user