1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-22 14:53: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',
cooldown: 5,
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);
message.channel.send('queue deleted')
}