1
0
mirror of https://github.com/musix-org/musix-oss synced 2024-11-10 08:10:18 +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) {
2019-10-31 21:45:58 +00:00
if (message.author.id !== client.config.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
};