simplified export

This commit is contained in:
mmacierzanka committed 2021-07-05 20:53:41 +02:00
1 parent 2ceb32e186
commit 6cd71bbf31
4 files changed
+17 -24

No files matched your search

+3 -5
View File
@@ -10,8 +10,8 @@ import {
} from "discord.js";
import { Command, PermissionsError } from "./Command.js";
type MessageType = "PERMISSION" | "ERROR" | "NOT_FOUND";
interface SystemMessageAppearance {
export type MessageType = "PERMISSION" | "ERROR" | "NOT_FOUND";
export interface SystemMessageAppearance {
title: string;
bottomText?: string;
accentColor?: ColorResolvable;
@@ -25,7 +25,7 @@ interface SystemMessageData {
error?: Error | PermissionsError | string;
}
class SystemMessageManager {
export class SystemMessageManager {
enabled: boolean;
PERMISSION: SystemMessageAppearance;
ERROR: SystemMessageAppearance;
@@ -167,5 +167,3 @@ class SystemMessageManager {
}
}
}
export { MessageType, SystemMessageAppearance, SystemMessageManager };