1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 05:10:17 +00:00

Update forcestop.js

This commit is contained in:
Christer Warén 2019-10-31 23:45:58 +02:00 committed by GitHub
parent 82b2bc9916
commit e101d780e7
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -4,7 +4,7 @@ module.exports = {
alias: 'fs', alias: 'fs',
cooldown: 5, cooldown: 5,
execute(message, args, client, Discord, prefix) { execute(message, args, client, Discord, prefix) {
if (message.author.id !== client.global.devId) return message.channel.send(':x: You are not allowed to do that!') if (message.author.id !== client.config.devId) return message.channel.send(':x: You are not allowed to do that!')
client.queue.delete(message.guild.id); client.queue.delete(message.guild.id);
message.channel.send('queue deleted') message.channel.send('queue deleted')
} }