Fix import grouping in execution.ts
I'm silly silly bad cutie that doesn't check commits when I push them
This commit is contained in:
parent
23ceca5cd3
commit
ffa79e798e
1 changed files with 5 additions and 1 deletions
|
@ -1,11 +1,15 @@
|
|||
import DiscordApi, { GuildTextBasedChannel, TextBasedChannel } from "discord.js";
|
||||
import {APIError as OpenAIError} from "openai";
|
||||
import {
|
||||
ChatCompletion,
|
||||
ChatCompletionMessage,
|
||||
ChatCompletionMessageParam
|
||||
} from "openai/resources/chat";
|
||||
|
||||
import { database, openai, config } from "./index";
|
||||
import Moderation from "./moderation";
|
||||
import toOpenAIMessages from "./toOpenAIMessages";
|
||||
import FunctionManager from "./funcitonManager";
|
||||
import { ChatCompletion, ChatCompletionMessage, ChatCompletionMessageParam } from "openai/resources/chat";
|
||||
|
||||
type NonNullableInObject<T, V> = { [k in keyof T]: k extends V ? NonNullable<T[k]> : T[k] };
|
||||
export type apiRequest = DiscordApi.Message | DiscordApi.RepliableInteraction;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue