From 0ecad260c69fffa751fb5d245e0e4f804191970b Mon Sep 17 00:00:00 2001 From: IRONM00N <64110067+IRONM00N@users.noreply.github.com> Date: Thu, 30 Sep 2021 18:40:52 -0400 Subject: okay jani --- src/lib/extensions/discord-akairo/BushCommand.ts | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/lib') diff --git a/src/lib/extensions/discord-akairo/BushCommand.ts b/src/lib/extensions/discord-akairo/BushCommand.ts index 073221d..548f921 100644 --- a/src/lib/extensions/discord-akairo/BushCommand.ts +++ b/src/lib/extensions/discord-akairo/BushCommand.ts @@ -139,8 +139,11 @@ export interface CustomBushArgumentOptions extends BaseBushArgumentOptions { export type BushMissingPermissionSupplier = (message: BushMessage | BushSlashMessage) => Promise | any; export interface BushCommandOptions extends Omit { + /** Whether the command is hidden from the help command. */ hidden?: boolean; + /** The channels the command is limited to run in. */ restrictedChannels?: Snowflake[]; + /** The guilds the command is limited to run in. */ restrictedGuilds?: Snowflake[]; description: { content: string; @@ -149,9 +152,13 @@ export interface BushCommandOptions extends Omit