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