aboutsummaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/extensions/discord-akairo/BushCommand.ts11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/lib/extensions/discord-akairo/BushCommand.ts b/src/lib/extensions/discord-akairo/BushCommand.ts
index 782fae5..fb488be 100644
--- a/src/lib/extensions/discord-akairo/BushCommand.ts
+++ b/src/lib/extensions/discord-akairo/BushCommand.ts
@@ -290,6 +290,11 @@ interface ExtendedCommandOptions {
* Use instead of {@link BaseBushCommandOptions.args} when using argument generators or custom slashOptions
*/
helpArgs?: BushArgumentOptions[];
+
+ /**
+ * Extra information about the command, displayed in the help command.
+ */
+ note?: string;
}
export interface BaseBushCommandOptions
@@ -397,6 +402,11 @@ export class BushCommand extends Command {
*/
public argsInfo?: ArgsInfo[];
+ /**
+ * Extra information about the command, displayed in the help command.
+ */
+ public note?: string;
+
public constructor(id: string, options: BushCommandOptions) {
const options_ = options as BaseBushCommandOptions;
@@ -501,6 +511,7 @@ export class BushCommand extends Command {
this.restrictedGuilds = options_.restrictedGuilds;
this.pseudo = !!options_.pseudo;
this.bypassChannelBlacklist = !!options_.bypassChannelBlacklist;
+ this.note = options_.note;
}
}