Updated types
This commit is contained in:
@@ -1,10 +0,0 @@
|
|||||||
type SnipeCache = {
|
|
||||||
author: string
|
|
||||||
content: string
|
|
||||||
channel: string
|
|
||||||
createdAt: number
|
|
||||||
deletedAt: number
|
|
||||||
attachments: string[]
|
|
||||||
}
|
|
||||||
|
|
||||||
export default SnipeCache
|
|
||||||
@@ -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[]
|
||||||
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user