diff --git a/src/db/common.ts b/src/db/common.ts index 056f884..4367bac 100644 --- a/src/db/common.ts +++ b/src/db/common.ts @@ -1,8 +1,8 @@ import dbClient from 'db/client.ts'; -type UserIdObj = { +interface UserIdObj { userid: bigint; -}; +} // List of userIds who have requested that the bot ignore them export const ignoreList: Array = []; diff --git a/src/mod.d.ts b/src/mod.d.ts index e8ce2f2..97e2866 100644 --- a/src/mod.d.ts +++ b/src/mod.d.ts @@ -1,14 +1,14 @@ // EmojiConf is used as a structure for the emojis stored in config.ts -export type EmojiConf = { +export interface EmojiConf { name: string; aliases: string[]; id: string; animated: boolean; deleteSender: boolean; -}; +} // PastCommandCount is used in calculating the hourly rate of commands -export type PastCommandCount = { +export interface PastCommandCount { command: string; count: number; -}; +}