mrmBot-Matrix/commands/skip.js

10 lines
No EOL
389 B
JavaScript

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";