mrmBot-Matrix/commands/skip.js

10 lines
389 B
JavaScript
Raw Normal View History

const soundPlayer = require("../utils/soundplayer.js");
exports.run = async (message) => {
if (process.env.NODE_ENV === "production") return "Music commands are coming soon, but they aren't ready yet. Stay tuned to @esmBot_ on Twitter for updates!";
return await soundPlayer.skip(message);
};
exports.category = 7;
exports.help = "Skips the current song";
exports.requires = "sound";