13 lines
433 B
JavaScript
13 lines
433 B
JavaScript
|
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;
|