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:
parent
82b2bc9916
commit
e101d780e7
@ -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')
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user