generated from nhcarrigan/template
feat: move from discord to web forms
This commit is contained in:
@@ -4,10 +4,8 @@
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
import type { PrismaClient, Sanctions } from "@prisma/client";
|
||||
import type { Client } from "discord.js";
|
||||
|
||||
export interface App {
|
||||
discord: Client;
|
||||
database: PrismaClient;
|
||||
sanctions: Array<Sanctions>;
|
||||
cacheUpdated: Date;
|
||||
|
||||
@@ -1,15 +0,0 @@
|
||||
/**
|
||||
* @copyright nhcarrigan
|
||||
* @license Naomi's Public License
|
||||
* @author Naomi Carrigan
|
||||
*/
|
||||
import type { App } from "./app.js";
|
||||
import type {
|
||||
ChatInputCommandInteraction,
|
||||
SlashCommandOptionsOnlyBuilder,
|
||||
} from "discord.js";
|
||||
|
||||
export interface Command {
|
||||
data: SlashCommandOptionsOnlyBuilder;
|
||||
run: (app: App, interaction: ChatInputCommandInteraction)=> Promise<void>;
|
||||
}
|
||||
Reference in New Issue
Block a user