mirror of
https://github.com/Burn-E99/GroupUp.git
synced 2026-06-04 00:43:49 -04:00
deno fmt and lint fixes
This commit is contained in:
@@ -188,7 +188,7 @@ export const Activities: Array<Activity> = [
|
|||||||
name: 'Nezarec Sublime (Week 4)',
|
name: 'Nezarec Sublime (Week 4)',
|
||||||
maxMembers: 6,
|
maxMembers: 6,
|
||||||
},
|
},
|
||||||
]
|
],
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'Onslaught',
|
name: 'Onslaught',
|
||||||
|
|||||||
@@ -1,4 +1,4 @@
|
|||||||
import { ApplicationCommandOption, ApplicationCommandTypes, PermissionStrings } from '../../deps.ts';
|
import { ApplicationCommandOption, ApplicationCommandTypes, Bot, BotWithCache, Interaction, PermissionStrings } from '../../deps.ts';
|
||||||
|
|
||||||
export type CommandDetails = {
|
export type CommandDetails = {
|
||||||
name: string;
|
name: string;
|
||||||
@@ -11,12 +11,12 @@ export type CommandDetails = {
|
|||||||
|
|
||||||
export type Command = {
|
export type Command = {
|
||||||
details: CommandDetails;
|
details: CommandDetails;
|
||||||
execute: Function;
|
execute: ((bot: Bot, interaction: Interaction) => void) | ((bot: BotWithCache, interaction: Interaction) => void);
|
||||||
};
|
};
|
||||||
|
|
||||||
export type Button = {
|
export type Button = {
|
||||||
customId: string;
|
customId: string;
|
||||||
execute: Function;
|
execute: ((bot: Bot, interaction: Interaction) => void) | ((bot: BotWithCache, interaction: Interaction) => void);
|
||||||
};
|
};
|
||||||
|
|
||||||
export type LfgChannelSetting = {
|
export type LfgChannelSetting = {
|
||||||
|
|||||||
Reference in New Issue
Block a user