Updated types

This commit is contained in:
2024-01-28 17:47:16 +01:00
parent a3625e2e3f
commit 286cc5f9e3
2 changed files with 12 additions and 12 deletions

View File

@@ -1,10 +0,0 @@
type SnipeCache = {
author: string
content: string
channel: string
createdAt: number
deletedAt: number
attachments: string[]
}
export default SnipeCache

View File

@@ -1,3 +1,13 @@
import SnipeCache from "./Types"
import { ChatInputCommandInteraction } from "discord.js"
import { ExtendedClient } from "utils/Client"
export { SnipeCache }
export type SubcommandFunc = (interaction: ChatInputCommandInteraction, client?: ExtendedClient) => Promise<void>
export type SnipeCache = {
author: string
content: string
channel: string
createdAt: number
deletedAt: number
attachments: string[]
}