woomy/commands/skip.js

26 lines
553 B
JavaScript
Raw Normal View History

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: [],
permLevel: 'User',
2020-04-12 09:24:58 +00:00
requiredPerms: [],
cooldown: 2000
}
exports.help = {
name: 'skip',
2020-04-12 09:24:58 +00:00
category: 'Music',
description: 'Force skips currently playing song.',
usage: 'skip',
2020-04-12 09:24:58 +00:00
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) => {
skip(message.guild, 'skip')
2020-04-12 09:24:58 +00:00
2020-04-19 10:10:52 +00:00
message.reply('skipped currently playing music')
}