mirror of
https://github.com/tiramisulabs/seyfert.git
synced 2025-07-03 05:26:07 +00:00
Update ApplicationCommand constructor types
This commit is contained in:
parent
1583471367
commit
9cf724c109
@ -6,12 +6,12 @@ import { CreateApplicationCommand } from "../../../Session.ts";
|
|||||||
export abstract class ApplicationCommandBuilder implements CreateApplicationCommand {
|
export abstract class ApplicationCommandBuilder implements CreateApplicationCommand {
|
||||||
constructor(
|
constructor(
|
||||||
type: ApplicationCommandTypes = ApplicationCommandTypes.ChatInput,
|
type: ApplicationCommandTypes = ApplicationCommandTypes.ChatInput,
|
||||||
name = "",
|
name: string = "",
|
||||||
description = "",
|
description: string = "",
|
||||||
defaultMemberPermissions?: PermissionStrings[],
|
defaultMemberPermissions?: PermissionStrings[],
|
||||||
nameLocalizations?: Localization,
|
nameLocalizations?: Localization,
|
||||||
descriptionLocalizations?: Localization,
|
descriptionLocalizations?: Localization,
|
||||||
dmPermission = true,
|
dmPermission: boolean = true,
|
||||||
) {
|
) {
|
||||||
this.type = type;
|
this.type = type;
|
||||||
this.name = name;
|
this.name = name;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user