diff options
| author | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-01 17:03:48 -0500 |
|---|---|---|
| committer | IRONM00N <64110067+IRONM00N@users.noreply.github.com> | 2022-01-01 17:03:48 -0500 |
| commit | 342b01c7f51dbe8beef1d3deb37822080ed6097f (patch) | |
| tree | 499b1f0ef1a8870e7abe61beba5fc1be9469e363 /src/commands/moulberry-bush | |
| parent | c24dfae07747c71e1c1806b12bf0f0bcd3dd60dd (diff) | |
| download | tanzanite-342b01c7f51dbe8beef1d3deb37822080ed6097f.tar.gz tanzanite-342b01c7f51dbe8beef1d3deb37822080ed6097f.tar.bz2 tanzanite-342b01c7f51dbe8beef1d3deb37822080ed6097f.zip | |
a few things
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.ts | 5 | ||||
| -rw-r--r-- | src/commands/moulberry-bush/report.ts | 2 | ||||
| -rw-r--r-- | src/commands/moulberry-bush/serverStatus.ts | 2 |
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() { |
