removed soundboard cmds
This commit is contained in:
parent
102c3f097b
commit
76bc07543d
13 changed files with 0 additions and 142 deletions
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class BoiCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/boi.ogg";
|
||||
static description = "Plays the \"boi\" sound effect";
|
||||
static aliases = ["boy", "neutron", "hugh"];
|
||||
}
|
||||
|
||||
export default BoiCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class BoomCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/boom.ogg";
|
||||
static description = "Plays the Vine boom sound effect";
|
||||
static aliases = ["thud", "vine"];
|
||||
}
|
||||
|
||||
export default BoomCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class BruhCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/bruh.ogg";
|
||||
static description = "Plays the \"bruh\" sound effect";
|
||||
static aliases = ["bro"];
|
||||
}
|
||||
|
||||
export default BruhCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class DamnDanielCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/damndaniel.ogg";
|
||||
static description = "Plays the \"damn daniel\" sound effect";
|
||||
static aliases = ["daniel", "damn"];
|
||||
}
|
||||
|
||||
export default DamnDanielCommand;
|
|
@ -1,8 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class ExplosionCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/explosion.ogg";
|
||||
static description = "Plays an explosion sound effect";
|
||||
}
|
||||
|
||||
export default ExplosionCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class FakePingCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/ping.ogg";
|
||||
static description = "Plays a Discord ping sound effect";
|
||||
static aliases = ["notification", "notif"];
|
||||
}
|
||||
|
||||
export default FakePingCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class FartCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/fart.ogg";
|
||||
static description = "Plays a fart sound effect";
|
||||
static aliases = ["toot"];
|
||||
}
|
||||
|
||||
export default FartCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class FartReverbCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/fart2.ogg";
|
||||
static description = "Plays a fart sound effect with extra reverb";
|
||||
static aliases = ["fart2"];
|
||||
}
|
||||
|
||||
export default FartReverbCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class FBICommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/fbi.ogg";
|
||||
static description = "Plays the \"FBI OPEN UP\" sound effect";
|
||||
static aliases = ["openup"];
|
||||
}
|
||||
|
||||
export default FBICommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class MailCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/mail.ogg";
|
||||
static description = "Plays the \"You've got mail\" sound effect";
|
||||
static aliases = ["yougotmail", "youvegotmail", "aol"];
|
||||
}
|
||||
|
||||
export default MailCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class OofCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/oof.ogg";
|
||||
static description = "Plays the Roblox \"oof\" sound";
|
||||
static aliases = ["roblox", "commitdie"];
|
||||
}
|
||||
|
||||
export default OofCommand;
|
|
@ -1,35 +0,0 @@
|
|||
import { play } from "../../utils/soundplayer.js";
|
||||
import Command from "../../classes/command.js";
|
||||
import { sounds, info } from "../../utils/collections.js";
|
||||
|
||||
// all-in-one soundboard command
|
||||
class SoundboardAIOCommand extends Command {
|
||||
async run() {
|
||||
const soundName = this.type === "classic" ? this.args[0] : this.optionsArray[0].name;
|
||||
if (!sounds.has(soundName)) {
|
||||
this.success = false;
|
||||
return "You need to provide a sound to play!";
|
||||
}
|
||||
const name = sounds.get(soundName);
|
||||
// await this.acknowledge();
|
||||
return await play(this.client, name, { channel: this.channel, member: this.member, type: this.type, interaction: this.interaction });
|
||||
}
|
||||
|
||||
static postInit() {
|
||||
this.flags = [];
|
||||
for (const sound of sounds.keys()) {
|
||||
this.flags.push({
|
||||
name: sound,
|
||||
type: 1,
|
||||
description: info.get(sound).description
|
||||
});
|
||||
}
|
||||
return this;
|
||||
}
|
||||
|
||||
static description = "Plays a sound effect";
|
||||
static aliases = ["sound", "sb"];
|
||||
static directAllowed = false;
|
||||
}
|
||||
|
||||
export default SoundboardAIOCommand;
|
|
@ -1,9 +0,0 @@
|
|||
import SoundboardCommand from "../../classes/soundboardCommand.js";
|
||||
|
||||
class WinXPCommand extends SoundboardCommand {
|
||||
static file = "./assets/audio/winxp.ogg";
|
||||
static description = "Plays the Windows XP startup sound";
|
||||
static aliases = ["windows", "xp"];
|
||||
}
|
||||
|
||||
export default WinXPCommand;
|
Loading…
Reference in a new issue