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