style: pretty please (#162)

* style: pretty please

* feat: no package.lock.json anymore

Co-authored-by: jacoobes <jacoobes@users.noreply.github.com>
Co-authored-by: Jacob Nguyen <76754747+jacoobes@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2022-12-28 14:40:19 -06:00
committed by GitHub
parent 71cec6f142
commit 8d18c4b182
34 changed files with 2834 additions and 2076 deletions

View File

@@ -18,7 +18,7 @@ import type {
ChannelSelectMenuInteraction,
MentionableSelectMenuInteraction,
RoleSelectMenuInteraction,
StringSelectMenuInteraction
StringSelectMenuInteraction,
} from 'discord.js';
import type {
DiscordEventCommand,
@@ -36,7 +36,7 @@ export interface Module {
type?: CommandType | EventType;
name?: string;
description?: string;
execute: (...args: any[]) => any
execute: (...args: any[]) => any;
}
export interface TextCommand extends Module {
@@ -162,10 +162,10 @@ export type CommandModuleDefs = {
[CommandType.CtxUser]: ContextMenuUser;
[CommandType.Button]: ButtonCommand;
[CommandType.StringSelect]: StringSelectCommand;
[CommandType.RoleSelect] : RoleSelectCommand;
[CommandType.ChannelSelect] : ChannelSelectCommand;
[CommandType.MentionableSelect] : MentionableSelectCommand;
[CommandType.UserSelect] : UserSelectCommand;
[CommandType.RoleSelect]: RoleSelectCommand;
[CommandType.ChannelSelect]: ChannelSelectCommand;
[CommandType.MentionableSelect]: MentionableSelectCommand;
[CommandType.UserSelect]: UserSelectCommand;
[CommandType.Modal]: ModalSubmitCommand;
};
@@ -175,7 +175,8 @@ export type EventModuleDefs = {
[EventType.External]: ExternalEventCommand;
};
export interface SernAutocompleteData extends Omit<BaseApplicationCommandOptionsData, 'autocomplete'> {
export interface SernAutocompleteData
extends Omit<BaseApplicationCommandOptionsData, 'autocomplete'> {
autocomplete: true;
type:
| ApplicationCommandOptionType.String
@@ -212,4 +213,4 @@ export type SernOptionsData<U extends ApplicationCommandOptionData = Application
? SernSubCommandData
: U extends ApplicationCommandSubGroupData
? SernSubCommandGroupData
: BaseOptions;
: BaseOptions;