mirror of
https://github.com/ZeppelinBot/Zeppelin.git
synced 2025-05-25 18:25:03 +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 { TextChannel } from "discord.js";
|
||||||
import * as t from "io-ts";
|
import * as t from "io-ts";
|
||||||
import { renderTemplate, TemplateSafeValueContainer } from "../../../templateFormatter";
|
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 { User, Util } from "discord.js";
|
||||||
import * as t from "io-ts";
|
import * as t from "io-ts";
|
||||||
import { tNullable } from "../../../utils";
|
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 { User, Util } from "discord.js";
|
||||||
import * as t from "io-ts";
|
import * as t from "io-ts";
|
||||||
import { automodTrigger } from "../helpers";
|
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 { User, Util } from "discord.js";
|
||||||
import * as t from "io-ts";
|
import * as t from "io-ts";
|
||||||
import { automodTrigger } from "../helpers";
|
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 { User, Util } from "discord.js";
|
||||||
import * as t from "io-ts";
|
import * as t from "io-ts";
|
||||||
import { tNullable } from "../../../utils";
|
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 { GuildPluginData } from "knub";
|
||||||
import { InternalPosterPluginType } from "../types";
|
import { InternalPosterPluginType } from "../types";
|
||||||
import { channelIsWebhookable, getOrCreateWebhookForChannel } from "./getOrCreateWebhookForChannel";
|
import { channelIsWebhookable } from "./getOrCreateWebhookForChannel";
|
||||||
import { APIMessage } from "discord-api-types";
|
|
||||||
import { isDiscordAPIError } from "../../../utils";
|
import { isDiscordAPIError } from "../../../utils";
|
||||||
import { getOrCreateWebhookClientForChannel } from "./getOrCreateWebhookClientForChannel";
|
import { getOrCreateWebhookClientForChannel } from "./getOrCreateWebhookClientForChannel";
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue