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 {
|
||||
constructor(
|
||||
type: ApplicationCommandTypes = ApplicationCommandTypes.ChatInput,
|
||||
name = "",
|
||||
description = "",
|
||||
name: string = "",
|
||||
description: string = "",
|
||||
defaultMemberPermissions?: PermissionStrings[],
|
||||
nameLocalizations?: Localization,
|
||||
descriptionLocalizations?: Localization,
|
||||
dmPermission = true,
|
||||
dmPermission: boolean = true,
|
||||
) {
|
||||
this.type = type;
|
||||
this.name = name;
|
||||
|
Loading…
x
Reference in New Issue
Block a user