Skip to content

Commit

Permalink
chore: formatting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
thewilloftheshadow committed Sep 21, 2024
1 parent dcd8998 commit 51cd491
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion packages/carbon/src/abstracts/BaseComponentInteraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,13 +6,13 @@ import {
Routes
} from "discord-api-types/v10"
import type { Client } from "../classes/Client.js"
import type { MessagePayload } from "../types.js"
import { serializePayload, splitCustomId } from "../utils.js"
import {
BaseInteraction,
type InteractionDefaults,
type InteractionReplyOptions
} from "./BaseInteraction.js"
import type { MessagePayload } from "../types.js"

export class BaseComponentInteraction extends BaseInteraction<APIMessageComponentInteraction> {
customId: string
Expand Down
4 changes: 2 additions & 2 deletions packages/carbon/src/abstracts/BaseGuildChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -8,10 +8,10 @@ import {
} from "discord-api-types/v10"
import { Guild } from "../structures/Guild.js"
import type { GuildCategoryChannel } from "../structures/GuildCategoryChannel.js"
import type { IfPartial } from "../utils.js"
import { BaseChannel } from "./BaseChannel.js"
import type { MessagePayload } from "../types.js"
import type { IfPartial } from "../utils.js"
import { serializePayload } from "../utils.js"
import { BaseChannel } from "./BaseChannel.js"

export abstract class BaseGuildChannel<
Type extends GuildChannelType,
Expand Down
2 changes: 1 addition & 1 deletion packages/carbon/src/abstracts/BaseInteraction.ts
Original file line number Diff line number Diff line change
Expand Up @@ -19,8 +19,8 @@ import {
channelFactory
} from "../index.js"
import { GuildMember } from "../structures/GuildMember.js"
import { serializePayload } from "../utils.js"
import type { MessagePayload } from "../types.js"
import { serializePayload } from "../utils.js"

/**
* Additional options for replying to an interaction
Expand Down
2 changes: 1 addition & 1 deletion packages/carbon/src/abstracts/GuildThreadOnlyChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,9 @@ import type {
ThreadChannelType
} from "discord-api-types/v10"
import { GuildThreadChannel } from "../structures/GuildThreadChannel.js"
import type { MessagePayload } from "../types.js"
import type { IfPartial } from "../utils.js"
import { BaseGuildChannel } from "./BaseGuildChannel.js"
import type { MessagePayload } from "../types.js"

export abstract class GuildThreadOnlyChannel<
Type extends ChannelType.GuildForum | ChannelType.GuildMedia,
Expand Down
2 changes: 1 addition & 1 deletion packages/carbon/src/structures/DmChannel.ts
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,8 @@ import {
Routes
} from "discord-api-types/v10"
import { BaseChannel } from "../abstracts/BaseChannel.js"
import { serializePayload, type IfPartial } from "../utils.js"
import type { MessagePayload } from "../types.js"
import { type IfPartial, serializePayload } from "../utils.js"

/**
* Represents a DM between two users.
Expand Down
4 changes: 2 additions & 2 deletions packages/carbon/src/structures/User.ts
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,10 @@ import {
} from "discord-api-types/v10"
import { Base } from "../abstracts/Base.js"
import type { Client } from "../classes/Client.js"
import type { MessagePayload } from "../types.js"
import type { IfPartial } from "../utils.js"
import { Message } from "./Message.js"
import { serializePayload } from "../utils.js"
import type { MessagePayload } from "../types.js"
import { Message } from "./Message.js"

export class User<IsPartial extends boolean = false> extends Base {
constructor(
Expand Down

0 comments on commit 51cd491

Please sign in to comment.