mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-10 05:10:17 +00:00
Update index.js
This commit is contained in:
parent
f64f5dba92
commit
d65d5aae9e
5
index.js
5
index.js
@ -23,10 +23,7 @@ client.on('message', async msg => {
|
||||
serverQueue.songs = [];
|
||||
serverQueue.connection.dispatcher.end('Stop');
|
||||
}
|
||||
if (msg.content === '>url') {
|
||||
msg.channel.send(`${serverQueue.songs[0].url}`)
|
||||
}
|
||||
if (msg.content === '>eval') {
|
||||
if (msg.content.startsWith('>eval')) {
|
||||
msg.channel.send(eval(args.join(' ')));
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user