mrmBot-Matrix/commands/soundboard/fakeping.js

13 lines
420 B
JavaScript

const soundPlayer = require("../../utils/soundplayer.js");
const MusicCommand = require("../../classes/musicCommand.js");
class FakePingCommand extends MusicCommand {
async run() {
return await soundPlayer.play(this.client, "./assets/audio/ping.ogg", this.message);
}
static description = "Plays a Discord ping sound effect";
static aliases = ["notification", "notif"];
}
module.exports = FakePingCommand;