diff --git a/src/helpers/roles/create_role.ts b/src/helpers/roles/create_role.ts index 5e52be6a7..2c51df41c 100644 --- a/src/helpers/roles/create_role.ts +++ b/src/helpers/roles/create_role.ts @@ -1,7 +1,7 @@ import type { CreateGuildRole } from "../../types/guilds/create_guild_role.ts"; import type { Role } from "../../types/permissions/role.ts"; import type {Bot} from "../../bot.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; /** Create a new role for the guild. Requires the MANAGE_ROLES permission. */ export async function createRole(bot: Bot, guildId: bigint, options: CreateGuildRole, reason?: string) { diff --git a/src/helpers/webhooks/edit_webhook_message.ts b/src/helpers/webhooks/edit_webhook_message.ts index 3dadb8ab4..0b5b09754 100644 --- a/src/helpers/webhooks/edit_webhook_message.ts +++ b/src/helpers/webhooks/edit_webhook_message.ts @@ -2,7 +2,7 @@ import type { Message } from "../../types/messages/message.ts"; import type { EditWebhookMessage } from "../../types/webhooks/edit_webhook_message.ts"; import type {Bot} from "../../bot.ts"; import {DiscordAllowedMentionsTypes} from "../../types/messages/allowed_mentions_types.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; export async function editWebhookMessage( bot: Bot, diff --git a/src/helpers/webhooks/edit_webhook_with_token.ts b/src/helpers/webhooks/edit_webhook_with_token.ts index 8fb09bb3b..c693e9ea5 100644 --- a/src/helpers/webhooks/edit_webhook_with_token.ts +++ b/src/helpers/webhooks/edit_webhook_with_token.ts @@ -1,7 +1,7 @@ import type { ModifyWebhook } from "../../types/webhooks/modify_webhook.ts"; import type { Webhook } from "../../types/webhooks/webhook.ts"; import type {Bot} from "../../bot.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; /** Edit a webhook. Returns the updated webhook object on success. */ export async function editWebhookWithToken( diff --git a/src/helpers/webhooks/get_webhook.ts b/src/helpers/webhooks/get_webhook.ts index b4dcce0f9..ce59fe97b 100644 --- a/src/helpers/webhooks/get_webhook.ts +++ b/src/helpers/webhooks/get_webhook.ts @@ -1,6 +1,6 @@ import type { Webhook } from "../../types/webhooks/webhook.ts"; import type {Bot} from "../../bot.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; /** Returns the new webhook object for the given id. */ export async function getWebhook(bot: Bot, webhookId: bigint) { diff --git a/src/helpers/webhooks/get_webhook_message.ts b/src/helpers/webhooks/get_webhook_message.ts index 750d46efa..ed0642731 100644 --- a/src/helpers/webhooks/get_webhook_message.ts +++ b/src/helpers/webhooks/get_webhook_message.ts @@ -1,5 +1,5 @@ import type { Message } from "../../types/messages/message.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; import type {Bot} from "../../bot.ts"; /** Returns a previously-sent webhook message from the same token. Returns a message object on success. */ diff --git a/src/helpers/webhooks/get_webhooks.ts b/src/helpers/webhooks/get_webhooks.ts index e9594ec3a..55e7d70cb 100644 --- a/src/helpers/webhooks/get_webhooks.ts +++ b/src/helpers/webhooks/get_webhooks.ts @@ -1,7 +1,7 @@ import type {Bot} from "../../bot.ts"; import type { Webhook } from "../../types/webhooks/webhook.ts"; import { Collection } from "../../util/collection.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; /** Returns a list of guild webhooks objects. Requires the MANAGE_WEBHOOKs permission. */ export async function getWebhooks(bot: Bot, guildId: bigint) { diff --git a/src/helpers/webhooks/send_webhook.ts b/src/helpers/webhooks/send_webhook.ts index 2a3230f30..8354dd8f3 100644 --- a/src/helpers/webhooks/send_webhook.ts +++ b/src/helpers/webhooks/send_webhook.ts @@ -2,7 +2,7 @@ import type {Bot} from "../../bot.ts"; import { DiscordAllowedMentionsTypes } from "../../types/messages/allowed_mentions_types.ts"; import type { Message } from "../../types/messages/message.ts"; import type { ExecuteWebhook } from "../../types/webhooks/execute_webhook.ts"; -import {SnakeCasedPropertiesDeep} from "../../types/util.ts"; +import type {SnakeCasedPropertiesDeep} from "../../types/util.ts"; /** Send a webhook with webhook Id and webhook token */ export async function sendWebhook(bot: Bot, webhookId: bigint, webhookToken: string, options: ExecuteWebhook) {