woomy/commands/forceskip.js

24 lines
475 B
JavaScript
Raw Normal View History

2020-04-12 09:24:58 +00:00
exports.conf = {
enabled: true,
guildOnly: true,
aliases: [],
permLevel: 'User',
2020-04-12 09:24:58 +00:00
requiredPerms: [],
cooldown: 2000
}
exports.help = {
name: 'forceskip',
category: 'Music',
description: 'Force skips currently playing song.',
usage: 'forceskip',
params: ''
}
2020-04-19 10:10:52 +00:00
const { skip } = require('../utils/music')
2020-04-12 09:24:58 +00:00
exports.run = async (client, message, args, level, data) => {
2020-04-19 10:10:52 +00:00
skip(message.guild, 'forceskip')
2020-04-12 09:24:58 +00:00
2020-04-19 10:10:52 +00:00
message.reply('skipped currently playing music')
}