mrmBot-Matrix/commands/soundboard/mail.js

13 lines
433 B
JavaScript
Raw Normal View History

const soundPlayer = require("../../utils/soundplayer.js");
const MusicCommand = require("../../classes/musicCommand.js");
class MailCommand extends MusicCommand {
async run() {
return await soundPlayer.play(this.client, "./assets/audio/mail.ogg", this.message);
}
static description = "Plays the \"You've got mail\" sound effect";
static aliases = ["yougotmail", "youvegotmail", "aol"];
}
module.exports = MailCommand;