1
0
mirror of https://github.com/toast-ts/Daggerbot-TS.git synced 2024-09-29 16:30:59 -04:00
Daggerbot-TS/src/typings/interfaces.d.ts

32 lines
663 B
TypeScript
Raw Normal View History

import Discord from 'discord.js';
2022-11-19 06:50:46 -05:00
export interface UserLevels {
messages: number,
level: number
}
export interface formatTimeOpt {
longNames: boolean,
commas: boolean
}
export interface createTableOpt {
columnAlign: any,
columnSeparator: any,
columnEmptyChar: any
}
export interface punOpt {
time?: string,
reason?: string,
interaction?: Discord.ChatInputCommandInteraction<"cached">
}
export interface Punishment {
id: number;
type: string;
member: string;
moderator: string;
expired?: boolean;
2022-12-01 17:53:57 -05:00
time: number;
reason: string;
endTime?: number;
cancels?: number;
duration?: number;
}