From c7c396e8dafa7cfefe236eef2975545db05b6a62 Mon Sep 17 00:00:00 2001 From: Lio Young Date: Wed, 28 Jul 2021 23:55:13 +0200 Subject: [PATCH] add feature types --- src/utils/types.ts | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) diff --git a/src/utils/types.ts b/src/utils/types.ts index 3eaa5b2..08eadac 100644 --- a/src/utils/types.ts +++ b/src/utils/types.ts @@ -1,6 +1,25 @@ import { SupabaseClient } from "@supabase/supabase-js"; import { Client, Guild, GuildMember, Message, NewsChannel, TextChannel, User } from "discord.js"; import Thaldrin from "../handler/client/Client"; + +export type Features = + | "shortlinks" + | "shortlink" + | "sl" + + + | "sauce" + | "source" + | "sourcefinder" + | "sf" + + | "embeds" + | "embedimages" + + | "rp" + | "interactiontext" + + export type Server = { readonly id: string server_id: string