Skip to content

Commit 794b95f

Browse files
committed
Added $isActivityCommand and activityCommand type
1 parent c721475 commit 794b95f

File tree

117 files changed

+286
-253
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

117 files changed

+286
-253
lines changed
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
import { ArgType, NativeFunction } from "../../structures";
2+
declare const _default: NativeFunction<import("../../structures").IArg<ArgType, boolean, boolean, import("../../structures").EnumLike<any>>[], false>;
3+
export default _default;
4+
//# sourceMappingURL=isActivityCommand.d.ts.map

dist/native/interaction/isActivityCommand.d.ts.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/interaction/isActivityCommand.js

Lines changed: 13 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/native/interaction/isActivityCommand.js.map

Lines changed: 1 addition & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/structures/base/BaseCommand.d.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { Context } from "..";
33
import { IExtendedCompilationResult, ForgeClient } from "../../core";
44
export type CommandType = keyof ClientEvents;
55
export type RawExecutableCode = (ctx: Context) => Promise<unknown[] | null>;
6-
export type CommandInteractionTypes = "button" | "modal" | "slashCommand" | "autocomplete" | "contextMenu" | "selectMenu";
6+
export type CommandInteractionTypes = "button" | "modal" | "slashCommand" | "autocomplete" | "contextMenu" | "selectMenu" | "activityCommand";
77
export interface IBaseCommand<T> {
88
name?: string;
99
type: T;

dist/structures/base/BaseCommand.d.ts.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/structures/base/BaseCommand.js

Lines changed: 2 additions & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

dist/structures/base/BaseCommand.js.map

Lines changed: 1 addition & 1 deletion
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

docs/classes/ApplicationCommand.html

Lines changed: 2 additions & 2 deletions
Large diffs are not rendered by default.

0 commit comments

Comments
 (0)