mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 02:25:01 +00:00
fix: import discord-api-types correctly
This commit is contained in:
parent
d60d2bc568
commit
6109af80cc
6 changed files with 7 additions and 8 deletions
|
@ -1,4 +1,4 @@
|
|||
import { GuildFeature, ThreadAutoArchiveDuration } from "discord-api-types";
|
||||
import { GuildFeature, ThreadAutoArchiveDuration } from "discord-api-types/v9";
|
||||
import { TextChannel } from "discord.js";
|
||||
import * as t from "io-ts";
|
||||
import { renderTemplate, TemplateSafeValueContainer } from "../../../templateFormatter";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Snowflake } from "discord-api-types";
|
||||
import { Snowflake } from "discord-api-types/v9";
|
||||
import { User, Util } from "discord.js";
|
||||
import * as t from "io-ts";
|
||||
import { tNullable } from "../../../utils";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Snowflake } from "discord-api-types";
|
||||
import { Snowflake } from "discord-api-types/v9";
|
||||
import { User, Util } from "discord.js";
|
||||
import * as t from "io-ts";
|
||||
import { automodTrigger } from "../helpers";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Snowflake } from "discord-api-types";
|
||||
import { Snowflake } from "discord-api-types/v9";
|
||||
import { User, Util } from "discord.js";
|
||||
import * as t from "io-ts";
|
||||
import { automodTrigger } from "../helpers";
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
import { Snowflake } from "discord-api-types";
|
||||
import { Snowflake } from "discord-api-types/v9";
|
||||
import { User, Util } from "discord.js";
|
||||
import * as t from "io-ts";
|
||||
import { tNullable } from "../../../utils";
|
||||
|
|
|
@ -1,8 +1,7 @@
|
|||
import { GuildTextBasedChannel, Message, MessageOptions, NewsChannel, TextChannel, WebhookClient } from "discord.js";
|
||||
import { GuildTextBasedChannel, MessageOptions, WebhookClient } from "discord.js";
|
||||
import { GuildPluginData } from "knub";
|
||||
import { InternalPosterPluginType } from "../types";
|
||||
import { channelIsWebhookable, getOrCreateWebhookForChannel } from "./getOrCreateWebhookForChannel";
|
||||
import { APIMessage } from "discord-api-types";
|
||||
import { channelIsWebhookable } from "./getOrCreateWebhookForChannel";
|
||||
import { isDiscordAPIError } from "../../../utils";
|
||||
import { getOrCreateWebhookClientForChannel } from "./getOrCreateWebhookClientForChannel";
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue