aboutsummaryrefslogtreecommitdiff
path: root/src/commands/moulberry-bush
diff options
context:
space:
mode:
Diffstat (limited to 'src/commands/moulberry-bush')
-rw-r--r--src/commands/moulberry-bush/capePermissions.ts (renamed from src/commands/moulberry-bush/capePerms.ts)6
-rw-r--r--src/commands/moulberry-bush/capes.ts5
-rw-r--r--src/commands/moulberry-bush/report.ts2
-rw-r--r--src/commands/moulberry-bush/serverStatus.ts2
4 files changed, 11 insertions, 4 deletions
diff --git a/src/commands/moulberry-bush/capePerms.ts b/src/commands/moulberry-bush/capePermissions.ts
index 71ca78e..c873095 100644
--- a/src/commands/moulberry-bush/capePerms.ts
+++ b/src/commands/moulberry-bush/capePermissions.ts
@@ -5,11 +5,11 @@ import got from 'got';
export default class CapePermissionsCommand extends BushCommand {
public constructor() {
super('capePermissions', {
- aliases: ['cape-perms', 'cape-perm', 'cape-permissions'],
+ aliases: ['cape-permissions', 'cape-perms', 'cape-perm'],
category: "Moulberry's Bush",
description: 'A command to see what capes someone has access to.',
- usage: ['cape-perms <user>'],
- examples: ['cape-perms IRONM00N'],
+ usage: ['cape-permissions <ign>'],
+ examples: ['cape-permissions IRONM00N'],
args: [
{
id: 'ign',
diff --git a/src/commands/moulberry-bush/capes.ts b/src/commands/moulberry-bush/capes.ts
index ab6910a..117fd1c 100644
--- a/src/commands/moulberry-bush/capes.ts
+++ b/src/commands/moulberry-bush/capes.ts
@@ -1,7 +1,10 @@
import { BushCommand, ButtonPaginator, DeleteButton, type BushMessage, type OptionalArgType } from '#lib';
+import assert from 'assert';
import { AutocompleteInteraction, type MessageEmbedOptions } from 'discord.js';
import Fuse from 'fuse.js';
import got from 'got';
+assert(Fuse);
+assert(got);
export default class CapesCommand extends BushCommand {
public constructor() {
@@ -9,7 +12,7 @@ export default class CapesCommand extends BushCommand {
aliases: ['capes', 'cape'],
category: "Moulberry's Bush",
description: 'A command to see what a cape looks like.',
- usage: ['cape [cape]'],
+ usage: ['capes [cape]'],
examples: ['capes', 'cape space'],
args: [
{
diff --git a/src/commands/moulberry-bush/report.ts b/src/commands/moulberry-bush/report.ts
index ae67e00..90abc97 100644
--- a/src/commands/moulberry-bush/report.ts
+++ b/src/commands/moulberry-bush/report.ts
@@ -1,6 +1,8 @@
import { AllowedMentions, BushCommand, type ArgType, type BushMessage } from '#lib';
+import assert from 'assert';
import { MessageEmbed } from 'discord.js';
import moment from 'moment';
+assert(moment);
export default class ReportCommand extends BushCommand {
public constructor() {
diff --git a/src/commands/moulberry-bush/serverStatus.ts b/src/commands/moulberry-bush/serverStatus.ts
index 790ac09..3d8e780 100644
--- a/src/commands/moulberry-bush/serverStatus.ts
+++ b/src/commands/moulberry-bush/serverStatus.ts
@@ -1,6 +1,8 @@
import { BushCommand, type BushMessage } from '#lib';
+import assert from 'assert';
import { MessageEmbed } from 'discord.js';
import got from 'got';
+assert(got);
export default class ServerStatusCommand extends BushCommand {
public constructor() {