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