mrmBot-Matrix/commands/nowplaying.js

11 lines
439 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.playing(message);
};
exports.aliases = ["playing", "np"];
exports.category = 7;
exports.help = "Shows the currently playing song";
exports.requires = "sound";