1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-12-23 06:43:17 +00:00
musix-oss/commands/forcestop.js

12 lines
394 B
JavaScript
Raw Normal View History

2019-10-20 17:31:37 +00:00
module.exports = {
2019-10-20 17:46:57 +00:00
name: 'forcestop',
description: 'force stop command.',
alias: 'fs',
2019-10-20 17:31:37 +00:00
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!')
2019-10-20 17:54:32 +00:00
client.queue.delete(message.guild.id);
2019-10-20 17:46:57 +00:00
message.channel.send('queue deleted')
2019-10-20 17:31:37 +00:00
}
2019-10-20 17:46:57 +00:00
};