mirror of
https://github.com/musix-org/musix-oss
synced 2024-11-14 03:30:18 +00:00
Update forcestop.js
This commit is contained in:
parent
34aeeede66
commit
50821c2b2b
@ -1,9 +1,10 @@
|
|||||||
module.exports = {
|
module.exports = {
|
||||||
name: 'stop',
|
name: 'forcestop',
|
||||||
description: 'Stop command.',
|
description: 'force stop command.',
|
||||||
cooldown: 5,
|
cooldown: 5,
|
||||||
execute(message, args, client, Discord, prefix) {
|
execute(message, args, client, Discord, prefix) {
|
||||||
if (message.author.id !== '360363051792203779') return message.channel.send(':x: You are not allowed to do that!')
|
if (message.author.id !== '360363051792203779') return message.channel.send(':x: You are not allowed to do that!')
|
||||||
client.queue.delete(guild.id);
|
client.queue.delete(guild.id);
|
||||||
|
message.channel.send('queue deleted')
|
||||||
}
|
}
|
||||||
};
|
};
|
Loading…
Reference in New Issue
Block a user