1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 21:13:18 +00:00

Update forcestop.js

This commit is contained in:
Matte 2019-10-20 20:46:57 +03:00 committed by GitHub
parent 34aeeede66
commit 50821c2b2b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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')
} }
}; };