2020-04-20 04:52:50 +00:00
|
|
|
// Copyright 2020 Emily J. / mudkipscience and contributors. Subject to the AGPLv3 license.
|
2020-04-20 03:02:10 +00:00
|
|
|
|
2020-04-12 09:24:58 +00:00
|
|
|
exports.conf = {
|
|
|
|
enabled: true,
|
|
|
|
guildOnly: true,
|
|
|
|
aliases: [],
|
2020-04-14 05:28:25 +00:00
|
|
|
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')
|
|
|
|
}
|