From 81030e946e900b6e250726a87b46b82fb4a9d238 Mon Sep 17 00:00:00 2001 From: POPPIN-FUMI Date: Mon, 13 Nov 2023 21:43:44 +0100 Subject: [PATCH] update: release v0.2.13 --- dist/index.d.ts | 2 +- dist/lib/version.d.ts | 2 +- docs/assets/navigation.js | 2 +- docs/assets/search.js | 2 +- docs/classes/Message.html | 2 +- docs/classes/MessageComponentInteraction.html | 2 +- docs/classes/SlashCommandBuilder.html | 2 +- docs/classes/TextChannel.html | 2 +- docs/enums/ButtonStyle.html | 2 +- docs/enums/ButtonStyleTypes.html | 2 +- docs/enums/ComponentType.html | 2 +- docs/enums/InteractionResponseType.html | 2 +- docs/enums/InteractionType.html | 2 +- docs/enums/MessageComponentTypes.html | 2 +- docs/enums/TextInputStyle.html | 2 +- docs/functions/addRoleToUser.html | 2 +- docs/functions/createPrivateChannel.html | 2 +- docs/functions/createTextChannel.html | 2 +- docs/functions/deferResponse.html | 2 +- docs/functions/deleteChannel.html | 2 +- docs/functions/deployCommands.html | 2 +- docs/functions/discordChangeLog.html | 2 +- docs/functions/getGuildMembers.html | 2 +- docs/functions/getReleaseInfoAsJson.html | 2 +- docs/functions/getUserRoles.html | 2 +- docs/functions/isChannelExist.html | 2 +- docs/functions/messageChannel.html | 2 +- docs/functions/removeUserRole.html | 2 +- docs/functions/updateResponse.html | 2 +- docs/functions/verifyKey.html | 2 +- docs/index.html | 2 +- docs/interfaces/DiscordUser.html | 4 ++-- docs/interfaces/GuildMember.html | 4 ++-- docs/modules.html | 7 ++++--- docs/types/ActionData.html | 1 + docs/types/ApplicationCommandData.html | 2 +- docs/types/Channel.html | 2 +- docs/types/CommandData.html | 2 +- docs/types/CommandOption.html | 2 +- docs/types/DiscordRouterParams.html | 1 + docs/types/Guild.html | 2 +- docs/types/Interaction.html | 2 +- docs/types/InteractionParams.html | 1 - docs/types/Member.html | 2 +- docs/types/MessageComponentType.html | 2 +- docs/types/ReleaseInfo.html | 2 +- docs/types/TextChannelType.html | 2 +- docs/types/User.html | 2 +- package.json | 2 +- src/lib/version.ts | 2 +- 50 files changed, 54 insertions(+), 52 deletions(-) create mode 100644 docs/types/ActionData.html create mode 100644 docs/types/DiscordRouterParams.html delete mode 100644 docs/types/InteractionParams.html diff --git a/dist/index.d.ts b/dist/index.d.ts index 7f3d5ec..2c386af 100644 --- a/dist/index.d.ts +++ b/dist/index.d.ts @@ -14,7 +14,7 @@ export { getGuildMembers } from './lib/getGuildMembers'; export { deployCommands } from './lib/deployCommands'; export type { ReleaseInfo } from './lib/discordChangeLog'; export type { DiscordUser, GuildMember } from './types/DiscordUser'; -export type { InteractionParams, Channel, CommandData, CommandOption, Guild, Member, User, } from './types/InteractionParams'; +export type { DiscordRouterParams, Channel, CommandData, CommandOption, Guild, Member, User, ActionData, } from './types/discordRouterParams'; export type { Message, TextChannel, TextChannelType, MessageComponentType, Interaction, MessageComponentInteraction, ApplicationCommandData, } from 'discord.js'; export { InteractionResponseType, InteractionType, verifyKey, ButtonStyleTypes, MessageComponentTypes, } from 'discord-interactions'; export { ComponentType, TextInputStyle, ButtonStyle, SlashCommandBuilder, } from 'discord.js'; diff --git a/dist/lib/version.d.ts b/dist/lib/version.d.ts index 2409308..18eb6ce 100644 --- a/dist/lib/version.d.ts +++ b/dist/lib/version.d.ts @@ -1 +1 @@ -export declare const VERSION = "0.2.12"; +export declare const VERSION = "0.2.13"; diff --git a/docs/assets/navigation.js b/docs/assets/navigation.js index 2784eed..878d351 100644 --- a/docs/assets/navigation.js +++ b/docs/assets/navigation.js @@ -1 +1 @@ -window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE6WWTW/UMBCG/0vOW5auaIHe+oHQAhXVtpwQB5NMdi0cO4qdVSPEf8f56K7HnjhteoqUef284/F4kp9/EwOPJrlIrmpjlLw3jYBkkZTM7OxLkHWhl07ozc4Uwsb/cJklFx8WSSqY1lZpdHbC9YllQSWZSP4tKPJDU4KO4Lv4HI9rVZRKgjQtwTdAwTn0tbTvWGq4khvQlqWB8hmRvdJxwmmuwy1ozbaAahMcDSma4/ZgH2tZ1oZsMBx9xW6O4G4NHHaAmaereTVyyj7qRInnud9byc7iCiazq5qLDKrQlRDNc2vP4HrHpAQRujjBefQbrlNVZT+0uwfeVihnqTVw4thgdXbuYD63O7yF4vcIxonHMJdlKXjK2qMZSnfDDDsSTdvmS1rlcd9+fH96tnrejPKr29uQdR24eMKNJTqVXUj5XuIeRpw+OEXqSu0TupdTK8lb1K8fvTMvqbMDuWMVK3TEpRdMZex3XI8h+4xYG47QkBRq5u9/AwKYhrXMlW/khKbydq48lbIXnp8tHgk9nBgDQX4syzbK/jEoDMhr2R2sXiIBpp2/c0BpBczAXcX39hHc0SOP0k1iyanqM0enKwJmkEP19F9BwZAgChIQ3SkSREGlUM0wNTRNchUxVD//W88tfFNbEuZpIrgtGOdTQKbmSeIw595c6i/aHVyIGOji2LYz2x4dS/AQj2C4Hg7q0yPXhgJhRQRVDGNovDOwIoKqoFB7eMqfQmFFBFWXmb0jscbHighqDxXPm6/QUJRD0AdExtiv/xWVicJADQAA" \ No newline at end of file +window.navigationData = "data:application/octet-stream;base64,H4sIAAAAAAAAE6WW227UMBCG3yXXW5auaIHe9YDQAhXVtlwhLkwy2bVw7CjjrBoh3h3n0F0fJk6bXkXK/P7+sWc8yc+/iYZHnVwkV7XWSt7rRkCySEqmd+YlyLrApRV6s9OFMPE/XGbJxYdFkgqGaJQasxOOJ4YFlWQi+begyA9NCRjBd/E5HteqKJUEqVuCb+AE59DX0rxjqeZKbgANC4HyGZG90nHCaa7DLSCyLThnE5SGFM1xezCPtSxrTTaYG33Fbo7gbg0cduAyT1fzzsg69lEnSjzP/d5IdgZXMJld1VxkUIWuhGieW1uD6x2TEkToYgXn0W84pqrKfqC9B96eUM5SY2DFXYPV2bmF+dzu8BaK3yMYKx7DXHZVuWGaHSm6be3lMeKtf/vx/enZymaUpeApa+XD8ZM8UkWynzfn/Ar1NmRtwpwjiU5lF1K+l+49cDh9cIo0VH2jarPTO1axAn0eIZmidk3gc7qXUyvJ+92vH73NL6me37k9muzXIDdqFIekUDM/2w0IYAhrmSvfyApN5W2NDiplLzw/W3e09HBinAT5scw0l/nzUC4gr2VXbFw6Apd2/s4CpRUwDXcV35tHcE+PPEo3iSWns88cndIOMIMcqqf/EwrmCKIgAdGdOoIoqBSqGSYH0iRbEUP146L13MI3tSVhniaC24K2Pilkap4kDrPuzSV+QXvMOMRAF8e2ndn26FiCh3gEw3Eo1KdHjpoCuYoIqhjG0HhnuIoIqoJC7eEpfwrlKiKouszMHYk1vquIoPZQ8bz5Cg1FOQR9QGSM/foPLXnV2YgNAAA=" \ No newline at end of file diff --git a/docs/assets/search.js b/docs/assets/search.js index b99ba60..5a61500 100644 --- a/docs/assets/search.js +++ b/docs/assets/search.js @@ -1 +1 @@ -window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE61cW6/bNhL+L86r4ZgURUnnrWgXRRZbbFG0+3JwYCi2zoka2zIsOUkR5L8vqYs1Q81IlO2nE0cz8w3nGw6v0vfFufhaLp6evy8+58fd4kmr5eKYHrLF02J7ztIq+zP7Vv38KT0es/1iubic9+bJ6+W4rfLiWL4fyKw+VQcruN2nZZkZy4vFjyVr/Pdz/sX8mbKPxXwh8rJV+Ne3vKwI41jA1+wu22djLqPnvkYPWVmmbyNWsYCv2bes+qvMzn8UeyM0NAof+zf/1Whk5ckYyMjmg+e+Ri+nneF3xCoW8DV7zg7Fl6xrImEWC/iaTXc7K/5nYRUJq+i5d1zzclucd5bgt+w/xRsVWkdkRhb8YZIyLbMPx9fip/LfZXGks2EgNgPi10u+3/2WHT5mZybXoIR/up32xT8/F4dDetxRdrHAqFm5TiIRyqtt0Nqr4eqfU1a+B0/GHQ3DQF/tbTZWe8LUu6sUsLhcnNJzdqwcp3ogsZZ9TKr0zQ9k1UhOAq1anxi83Tl9rTwRO9l7MU/n7NwIewIjhXvR00v1qTh7Il+F70VtBrudJ2wvfXesLx/3efnJGxnK34tt8fxQG8l78b5+SquyqaC+zXVUb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q6AiYgz03y9CTgOmGO1MurFO5AyoAGhhw2sDOpkyJWa/gIc6O4gWxKu0LSnkyBNQJcK2uFYteU+6sr+mkuBt6yqbwcfuq+ggUCC2iW4zDf67Tes8uNrkZZ/l7iECdjhuR5vjNgUau9vgEiCQHKq8BgaBAUQGKguhzgy2lcNATBgImx7f8KG8Hq7GhgASag7MlpyYq5H4Jf8gDHQITQbw55FFAjgSMBlMvZdgrDLdpzXsm1D+zdu/z/RXWy54SnvX8o6tS+pgyoLWhZyRcbUiaY4Zs1HMYGnwFFGGdxXA0EBMywlui7C0TJ4CwiUd5BmEZcfBKEAX3czZo6cIacalGbdTbC53G4dJ8YX4DvX9OYCHlAB/UJd55Zc33Q7pQaJFbV+x20CJVxeN3fzgAug8Up2LnCDa/OKE3ABNCDi/L7e6gelGQynMccUeMEJIIIOGHFuXm8FgnaCwqmCrp0sNL2A0aB/RVFnhEuV/q0lYAGkasQq4qt+oBGgh6quDK+5UoG/1QW6K6A84KoE/JgiGH5AANjyj+/9gPIC2i67OSA78wWfGAQmAIuSS3HyhS2Qe6D5ERc7MAij9oNOzi69m0/KdiMwVAfR44I3GLQV6CrqukzkolZ/7hP4C/onu7Rs34MGSQqirLle3b6cBuIKtGLWPycXNcho3dauuBvYuRiNXA0FcYP1+DqscjnTfF2YWnLAesMpnxGyhOMoN5C6WalAMVddaRFdQWaXHP2dN4APSJddy9ne0r5QAxoMPEk496/vjgMqQaJqLlT1lzS33Zc0gc9AWZKNfVkuTvkp25v5x+Lp+eXHj/8DTMMMQLlcAAA="; \ No newline at end of file +window.searchData = "data:application/octet-stream;base64,H4sIAAAAAAAAE7VcW6/bNhL+L86r4ZgUdTtvRbsouthii6Ddl4PAUGydEzW2ZUhyLgjy35fUxZqhZiTKcp9OHM3MN+Q3HA4v0vdVkX8pV0/P31efsvNh9RSo9eqcnNLV02pfpEmV/pl+rX7+mJzP6XG1Xl2Lo37ycj3vqyw/l28HMpuP1ckI7o9JWaba8mr1Y80a/6PIPus/U/ax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ALaLrsqkC2bwRc9gQnAouRCnHyvEcQeaH7I9R2YQlH7wSAX3ChvvuDczZ9QHfQe13mDKVeBoaJua1Su1+qv6wJ/wfhk17XthwNAkIJeDrhR3b7DCfoVaEWsf1YsBiCigzZ3Rd20zPXRyA1q0G8wH98mRS5mmo95U4sOmG845QIhSziPchOpHZUKJHPVpRbRJWR20dFfDQX4gHTZtZwdLe17Z6DBwJOYc//2kQVAJQjUgOuq+sO1++7DtcBnoExvxr1fry7ZJT3q+mP19Pz+x4//A8XfpNsoYAAA"; \ No newline at end of file diff --git a/docs/classes/Message.html b/docs/classes/Message.html index fe1e12e..4c8b9ff 100644 --- a/docs/classes/Message.html +++ b/docs/classes/Message.html @@ -68,4 +68,4 @@ toString unpin valueOf -

Constructors

  • Type Parameters

    • InGuild extends boolean = boolean

    Parameters

    • client: Client<true>
    • data: APIMessage

    Returns Message<InGuild>

Properties

_cacheType: InGuild
activity: null | MessageActivity
applicationId: null | string
attachments: Collection<string, Attachment>
author: User
channelId: string
client: Client<true>
components: ActionRow<MessageActionRowComponent>[]
content: string
createdTimestamp: number
editedTimestamp: null | number
embeds: Embed[]
flags: Readonly<MessageFlagsBitField>
groupActivityApplication: null | ClientApplication
guildId: If<InGuild, string, null>
id: string
interaction: null | MessageInteraction
mentions: MessageMentions<InGuild>
nonce: null | string | number
pinned: boolean
position: null | number
reactions: ReactionManager
reference: null | MessageReference
resolved: null | CommandInteractionResolvedData<CacheType>
roleSubscriptionData: null | RoleSubscriptionData
stickers: Collection<string, Sticker>
system: boolean
tts: boolean
type: MessageType
webhookId: null | string

Accessors

  • get bulkDeletable(): boolean
  • Returns boolean

  • get channel(): If<InGuild, GuildTextBasedChannel, TextBasedChannel>
  • Returns If<InGuild, GuildTextBasedChannel, TextBasedChannel>

  • get cleanContent(): string
  • Returns string

  • get createdAt(): Date
  • Returns Date

  • get crosspostable(): boolean
  • Returns boolean

  • get deletable(): boolean
  • Returns boolean

  • get editable(): boolean
  • Returns boolean

  • get editedAt(): null | Date
  • Returns null | Date

  • get guild(): If<InGuild, Guild, null>
  • Returns If<InGuild, Guild, null>

  • get hasThread(): boolean
  • Returns boolean

  • get member(): null | GuildMember
  • Returns null | GuildMember

  • get partial(): false
  • Returns false

  • get pinnable(): boolean
  • Returns boolean

  • get thread(): null | AnyThreadChannel<boolean>
  • Returns null | AnyThreadChannel<boolean>

  • get url(): string
  • Returns string

Methods

  • Parameters

    • data: APIMessage | GatewayMessageUpdateDispatchData

    Returns void

  • Type Parameters

    Parameters

    • Optional options: AwaitMessageCollectorOptionsParams<ComponentType, InGuild>

    Returns Promise<MappedInteractionTypes<InGuild>[ComponentType]>

  • Parameters

    • Optional options: AwaitReactionsOptions

    Returns Promise<Collection<string, MessageReaction>>

  • Type Parameters

    Parameters

    • Optional options: MessageCollectorOptionsParams<ComponentType, InGuild>

    Returns InteractionCollector<MappedInteractionTypes<InGuild>[ComponentType]>

  • Parameters

    • Optional options: ReactionCollectorOptions

    Returns ReactionCollector

  • Returns Promise<Message<InGuild>>

  • Returns Promise<Message<InGuild>>

  • Parameters

    • content: string | MessageEditOptions | MessagePayload

    Returns Promise<Message<InGuild>>

  • Parameters

    • message: Message<boolean>
    • rawData: unknown

    Returns boolean

  • Parameters

    • Optional force: boolean

    Returns Promise<Message<InGuild>>

  • Returns Promise<Message<InGuild>>

  • Returns Promise<Webhook>

  • Returns this is Message<true>

  • Parameters

    • Optional reason: string

    Returns Promise<Message<InGuild>>

  • Parameters

    • emoji: EmojiIdentifierResolvable

    Returns Promise<MessageReaction>

  • Returns Promise<Message<InGuild>>

  • Parameters

    • options: string | MessagePayload | MessageReplyOptions

    Returns Promise<Message<InGuild>>

  • Parameters

    • customId: string

    Returns null | MessageActionRowComponent

  • Parameters

    • options: StartThreadOptions

    Returns Promise<AnyThreadChannel<boolean>>

  • Parameters

    • Optional suppress: boolean

    Returns Promise<Message<InGuild>>

  • Returns unknown

  • Returns string

  • Parameters

    • Optional reason: string

    Returns Promise<Message<InGuild>>

  • Returns string

Generated using TypeDoc

\ No newline at end of file +

Constructors

  • Type Parameters

    • InGuild extends boolean = boolean

    Parameters

    • client: Client<true>
    • data: APIMessage

    Returns Message<InGuild>

Properties

_cacheType: InGuild
activity: null | MessageActivity
applicationId: null | string
attachments: Collection<string, Attachment>
author: User
channelId: string
client: Client<true>
components: ActionRow<MessageActionRowComponent>[]
content: string
createdTimestamp: number
editedTimestamp: null | number
embeds: Embed[]
flags: Readonly<MessageFlagsBitField>
groupActivityApplication: null | ClientApplication
guildId: If<InGuild, string, null>
id: string
interaction: null | MessageInteraction
mentions: MessageMentions<InGuild>
nonce: null | string | number
pinned: boolean
position: null | number
reactions: ReactionManager
reference: null | MessageReference
resolved: null | CommandInteractionResolvedData<CacheType>
roleSubscriptionData: null | RoleSubscriptionData
stickers: Collection<string, Sticker>
system: boolean
tts: boolean
type: MessageType
webhookId: null | string

Accessors

  • get bulkDeletable(): boolean
  • Returns boolean

  • get channel(): If<InGuild, GuildTextBasedChannel, TextBasedChannel>
  • Returns If<InGuild, GuildTextBasedChannel, TextBasedChannel>

  • get cleanContent(): string
  • Returns string

  • get createdAt(): Date
  • Returns Date

  • get crosspostable(): boolean
  • Returns boolean

  • get deletable(): boolean
  • Returns boolean

  • get editable(): boolean
  • Returns boolean

  • get editedAt(): null | Date
  • Returns null | Date

  • get guild(): If<InGuild, Guild, null>
  • Returns If<InGuild, Guild, null>

  • get hasThread(): boolean
  • Returns boolean

  • get member(): null | GuildMember
  • Returns null | GuildMember

  • get partial(): false
  • Returns false

  • get pinnable(): boolean
  • Returns boolean

  • get thread(): null | AnyThreadChannel<boolean>
  • Returns null | AnyThreadChannel<boolean>

  • get url(): string
  • Returns string

Methods

  • Parameters

    • data: APIMessage | GatewayMessageUpdateDispatchData

    Returns void

  • Type Parameters

    Parameters

    • Optional options: AwaitMessageCollectorOptionsParams<ComponentType, InGuild>

    Returns Promise<MappedInteractionTypes<InGuild>[ComponentType]>

  • Parameters

    • Optional options: AwaitReactionsOptions

    Returns Promise<Collection<string, MessageReaction>>

  • Type Parameters

    Parameters

    • Optional options: MessageCollectorOptionsParams<ComponentType, InGuild>

    Returns InteractionCollector<MappedInteractionTypes<InGuild>[ComponentType]>

  • Parameters

    • Optional options: ReactionCollectorOptions

    Returns ReactionCollector

  • Returns Promise<Message<InGuild>>

  • Returns Promise<Message<InGuild>>

  • Parameters

    • content: string | MessageEditOptions | MessagePayload

    Returns Promise<Message<InGuild>>

  • Parameters

    • message: Message<boolean>
    • rawData: unknown

    Returns boolean

  • Parameters

    • Optional force: boolean

    Returns Promise<Message<InGuild>>

  • Returns Promise<Message<InGuild>>

  • Returns Promise<Webhook>

  • Returns this is Message<true>

  • Parameters

    • Optional reason: string

    Returns Promise<Message<InGuild>>

  • Parameters

    • emoji: EmojiIdentifierResolvable

    Returns Promise<MessageReaction>

  • Returns Promise<Message<InGuild>>

  • Parameters

    • options: string | MessagePayload | MessageReplyOptions

    Returns Promise<Message<InGuild>>

  • Parameters

    • customId: string

    Returns null | MessageActionRowComponent

  • Parameters

    • options: StartThreadOptions

    Returns Promise<AnyThreadChannel<boolean>>

  • Parameters

    • Optional suppress: boolean

    Returns Promise<Message<InGuild>>

  • Returns unknown

  • Returns string

  • Parameters

    • Optional reason: string

    Returns Promise<Message<InGuild>>

  • Returns string

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/MessageComponentInteraction.html b/docs/classes/MessageComponentInteraction.html index 1bea533..066f2d8 100644 --- a/docs/classes/MessageComponentInteraction.html +++ b/docs/classes/MessageComponentInteraction.html @@ -58,4 +58,4 @@ update valueOf

Constructors

  • Type Parameters

    • Cached extends CacheType = CacheType

    Parameters

    • client: Client<true>
    • data: APIMessageComponentInteraction

    Returns MessageComponentInteraction<Cached>

Properties

appPermissions: CacheTypeReducer<Cached, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, null | Readonly<PermissionsBitField>>
applicationId: string
channelId: string
client: Client<true>
customId: string
deferred: boolean
ephemeral: null | boolean
guildId: CacheTypeReducer<Cached, string, string, string, null | string>
guildLocale: CacheTypeReducer<Cached, Locale, Locale, Locale, null | Locale>
id: string
locale: Locale
member: CacheTypeReducer<Cached, GuildMember, APIInteractionGuildMember, GuildMember | APIInteractionGuildMember, null | GuildMember | APIInteractionGuildMember>
memberPermissions: CacheTypeReducer<Cached, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, Readonly<PermissionsBitField>, null | Readonly<PermissionsBitField>>
message: Message<BooleanCache<Cached>>
replied: boolean
token: string
type: MessageComponent
user: User
version: number
webhook: InteractionWebhook

Accessors

  • get channel(): CacheTypeReducer<Cached, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | TextBasedChannel>
  • Returns CacheTypeReducer<Cached, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | GuildTextBasedChannel, null | TextBasedChannel>

  • get component(): CacheTypeReducer<Cached, MessageActionRowComponent, APIMessageActionRowComponent, MessageActionRowComponent | APIMessageActionRowComponent, MessageActionRowComponent | APIMessageActionRowComponent>
  • Returns CacheTypeReducer<Cached, MessageActionRowComponent, APIMessageActionRowComponent, MessageActionRowComponent | APIMessageActionRowComponent, MessageActionRowComponent | APIMessageActionRowComponent>

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

  • get guild(): CacheTypeReducer<Cached, Guild, null, null | Guild, null | Guild>
  • Returns CacheTypeReducer<Cached, Guild, null, null | Guild, null | Guild>

Methods

  • Parameters

    • options: AwaitModalSubmitOptions<ModalSubmitInteraction<CacheType>>

    Returns Promise<ModalSubmitInteraction<Cached>>

  • Parameters

    • options: InteractionDeferReplyOptions & {
          fetchReply: true;
      }

    Returns Promise<Message<BooleanCache<Cached>>>

  • Parameters

    • Optional options: InteractionDeferReplyOptions

    Returns Promise<InteractionResponse<BooleanCache<Cached>>>

  • Parameters

    • options: InteractionDeferUpdateOptions & {
          fetchReply: true;
      }

    Returns Promise<Message<BooleanCache<Cached>>>

  • Parameters

    • Optional options: InteractionDeferUpdateOptions

    Returns Promise<InteractionResponse<BooleanCache<Cached>>>

  • Parameters

    • Optional message: MessageResolvable

    Returns Promise<void>

  • Parameters

    • options: string | MessagePayload | InteractionEditReplyOptions

    Returns Promise<Message<BooleanCache<Cached>>>

  • Parameters

    • Optional message: string

    Returns Promise<Message<BooleanCache<Cached>>>

  • Parameters

    • options: string | MessagePayload | InteractionReplyOptions

    Returns Promise<Message<BooleanCache<Cached>>>

  • Returns this is AnySelectMenuInteraction<Cached>

  • Returns this is AutocompleteInteraction<Cached>

  • Returns this is ButtonInteraction<Cached>

  • Returns this is ChannelSelectMenuInteraction<Cached>

  • Returns this is ChatInputCommandInteraction<Cached>

  • Returns this is CommandInteraction<Cached>

  • Returns this is ContextMenuCommandInteraction<Cached>

  • Returns this is MentionableSelectMenuInteraction<Cached>

  • Returns this is MessageContextMenuCommandInteraction<Cached>

  • Returns this is ModalSubmitInteraction<Cached>

  • Returns this is RepliableInteraction<Cached>

  • Returns this is RoleSelectMenuInteraction<Cached>

  • Returns this is StringSelectMenuInteraction<Cached>

    Deprecated

    Use isStringSelectMenu instead.

    -
  • Returns this is StringSelectMenuInteraction<Cached>

  • Returns this is UserContextMenuCommandInteraction<Cached>

  • Returns this is UserSelectMenuInteraction<Cached>

  • Parameters

    • options: InteractionReplyOptions & {
          fetchReply: true;
      }

    Returns Promise<Message<BooleanCache<Cached>>>

  • Parameters

    • options: string | MessagePayload | InteractionReplyOptions

    Returns Promise<InteractionResponse<BooleanCache<Cached>>>

  • Parameters

    • modal: APIModalInteractionResponseCallbackData | ModalComponentData | JSONEncodable<APIModalInteractionResponseCallbackData>

    Returns Promise<void>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Parameters

    • options: InteractionUpdateOptions & {
          fetchReply: true;
      }

    Returns Promise<Message<BooleanCache<Cached>>>

  • Parameters

    • options: string | MessagePayload | InteractionUpdateOptions

    Returns Promise<InteractionResponse<BooleanCache<Cached>>>

  • Returns string

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/SlashCommandBuilder.html b/docs/classes/SlashCommandBuilder.html index afa263a..9fe3324 100644 --- a/docs/classes/SlashCommandBuilder.html +++ b/docs/classes/SlashCommandBuilder.html @@ -96,4 +96,4 @@

Deprecated

Use

Returns SlashCommandBuilder

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/classes/TextChannel.html b/docs/classes/TextChannel.html index 853f39d..9fb0753 100644 --- a/docs/classes/TextChannel.html +++ b/docs/classes/TextChannel.html @@ -67,4 +67,4 @@ valueOf

Constructors

  • Parameters

    • guild: Guild
    • Optional data: RawGuildChannelData
    • Optional client: Client<true>
    • Optional immediatePatch: boolean

    Returns TextChannel

Properties

client: Client<true>
defaultAutoArchiveDuration?: ThreadAutoArchiveDuration
defaultThreadRateLimitPerUser: null | number
flags: Readonly<ChannelFlagsBitField>
guild: Guild
guildId: string
id: string
lastMessage: null | Message<boolean>
lastMessageId: null | string
lastPinAt: null | Date
lastPinTimestamp: null | number
messages: GuildMessageManager
name: string
nsfw: boolean
parentId: null | string
permissionOverwrites: PermissionOverwriteManager
rateLimitPerUser: number
rawPosition: number
threads: GuildTextThreadManager<AllowedThreadTypeForTextChannel>
topic: null | string
type: GuildText

Accessors

  • get createdAt(): Date
  • Returns Date

  • get createdTimestamp(): number
  • Returns number

  • get deletable(): boolean
  • Returns boolean

  • get manageable(): boolean
  • Returns boolean

  • get members(): Collection<string, GuildMember>
  • Returns Collection<string, GuildMember>

  • get parent(): null | CategoryChannel
  • Returns null | CategoryChannel

  • get partial(): false
  • Returns false

  • get permissionsLocked(): null | boolean
  • Returns null | boolean

  • get position(): number
  • Returns number

  • get url(): string
  • Returns string

  • get viewable(): boolean
  • Returns boolean

Methods

  • Type Parameters

    Parameters

    • Optional options: AwaitMessageCollectorOptionsParams<ComponentType, true>

    Returns Promise<MappedInteractionTypes<boolean>[ComponentType]>

  • Parameters

    • Optional options: AwaitMessagesOptions

    Returns Promise<Collection<string, Message<boolean>>>

  • Parameters

    • messages: number | Collection<string, Message<boolean>> | readonly MessageResolvable[]
    • Optional filterOld: boolean

    Returns Promise<Collection<string, undefined | Message<boolean> | PartialMessage>>

  • Parameters

    • Optional options: GuildChannelCloneOptions

    Returns Promise<TextChannel>

  • Parameters

    • Optional options: InviteCreateOptions

    Returns Promise<Invite>

  • Parameters

    • Optional options: MessageCollectorOptions

    Returns MessageCollector

  • Type Parameters

    Parameters

    • Optional options: MessageChannelCollectorOptionsParams<ComponentType, true>

    Returns InteractionCollector<MappedInteractionTypes<boolean>[ComponentType]>

  • Parameters

    • options: ChannelWebhookCreateOptions

    Returns Promise<Webhook>

  • Parameters

    • Optional reason: string

    Returns Promise<TextChannel>

  • Parameters

    • options: GuildChannelEditOptions

    Returns Promise<TextChannel>

  • Parameters

    • channel: GuildChannel

    Returns boolean

  • Parameters

    • Optional force: boolean

    Returns Promise<TextChannel>

  • Parameters

    • Optional cache: boolean

    Returns Promise<Collection<string, Invite>>

  • Returns Promise<Collection<string, Webhook>>

  • Returns this is DMChannel | PartialDMChannel | PartialGroupDMChannel

  • Returns this is GuildBasedChannel & TextBasedChannel

  • Returns this is AnyThreadChannel<boolean>

  • Returns this is ThreadOnlyChannel

  • Returns this is VoiceBasedChannel

  • Returns Promise<TextChannel>

  • Parameters

    • memberOrRole: GuildMember | Role
    • Optional checkAdmin: boolean

    Returns Readonly<PermissionsBitField>

  • Parameters

    • memberOrRole: string | User | GuildMember | Role | Message<boolean> | ThreadMember<boolean>
    • Optional checkAdmin: boolean

    Returns null | Readonly<PermissionsBitField>

  • Parameters

    • options: string | MessagePayload | MessageCreateOptions

    Returns Promise<Message<true>>

  • Returns Promise<void>

  • Parameters

    • defaultAutoArchiveDuration: ThreadAutoArchiveDuration
    • Optional reason: string

    Returns Promise<TextChannel>

  • Parameters

    • Optional nsfw: boolean
    • Optional reason: string

    Returns Promise<TextBasedChannelFields<true>>

  • Parameters

    • name: string
    • Optional reason: string

    Returns Promise<TextChannel>

  • Parameters

    • channel: null | CategoryChannelResolvable
    • Optional options: SetParentOptions

    Returns Promise<TextChannel>

  • Parameters

    • position: number
    • Optional options: SetChannelPositionOptions

    Returns Promise<TextChannel>

  • Parameters

    • rateLimitPerUser: number
    • Optional reason: string

    Returns Promise<TextBasedChannelFields<true>>

  • Parameters

    • topic: null | string
    • Optional reason: string

    Returns Promise<TextChannel>

  • Parameters

    • type: GuildText
    • Optional reason: string

    Returns Promise<TextChannel>

  • Parameters

    • type: GuildAnnouncement
    • Optional reason: string

    Returns Promise<NewsChannel>

  • Parameters

    • Rest ...props: Record<string, string | boolean>[]

    Returns unknown

  • Returns `<#${string}>`

  • Returns a string representation of an object.

    Returns string

  • Returns string

  • Returns the primitive value of the specified object.

    -

    Returns Object

Generated using TypeDoc

\ No newline at end of file +

Returns Object

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/ButtonStyle.html b/docs/enums/ButtonStyle.html index 41b59e2..026ea77 100644 --- a/docs/enums/ButtonStyle.html +++ b/docs/enums/ButtonStyle.html @@ -4,4 +4,4 @@ Primary Secondary Success -

Enumeration Members

Danger: 4
Link: 5
Primary: 1
Secondary: 2
Success: 3

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

Danger: 4
Link: 5
Primary: 1
Secondary: 2
Success: 3

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/ButtonStyleTypes.html b/docs/enums/ButtonStyleTypes.html index 18f0995..d36524d 100644 --- a/docs/enums/ButtonStyleTypes.html +++ b/docs/enums/ButtonStyleTypes.html @@ -3,4 +3,4 @@ PRIMARY SECONDARY SUCCESS -

Enumeration Members

DANGER: 4
LINK: 5
PRIMARY: 1
SECONDARY: 2
SUCCESS: 3

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

DANGER: 4
LINK: 5
PRIMARY: 1
SECONDARY: 2
SUCCESS: 3

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/ComponentType.html b/docs/enums/ComponentType.html index 69ac339..2331daa 100644 --- a/docs/enums/ComponentType.html +++ b/docs/enums/ComponentType.html @@ -18,4 +18,4 @@
StringSelect: 3

Select menu for picking from defined text options

TextInput: 4

Text Input component

UserSelect: 5

Select menu for users

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/InteractionResponseType.html b/docs/enums/InteractionResponseType.html index c9e3254..217ae5c 100644 --- a/docs/enums/InteractionResponseType.html +++ b/docs/enums/InteractionResponseType.html @@ -11,4 +11,4 @@
DEFERRED_UPDATE_MESSAGE: 6

Acknowledge an interaction and edit the original message that contains the component later; the user does not see a loading state.

MODAL: 9
PONG: 1

Acknowledge a PING.

UPDATE_MESSAGE: 7

Edit the message the component was attached to.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/InteractionType.html b/docs/enums/InteractionType.html index c11a5cc..1f90c66 100644 --- a/docs/enums/InteractionType.html +++ b/docs/enums/InteractionType.html @@ -9,4 +9,4 @@
MESSAGE_COMPONENT: 3

Usage of a message's component.

MODAL_SUBMIT: 5

An interaction sent when a modal is submitted.

PING: 1

A ping.

-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/MessageComponentTypes.html b/docs/enums/MessageComponentTypes.html index aca4e7c..7b50581 100644 --- a/docs/enums/MessageComponentTypes.html +++ b/docs/enums/MessageComponentTypes.html @@ -8,4 +8,4 @@ ROLE_SELECT STRING_SELECT USER_SELECT -

Enumeration Members

ACTION_ROW: 1
BUTTON: 2
CHANNEL_SELECT: 8
INPUT_TEXT: 4
MENTIONABLE_SELECT: 7
ROLE_SELECT: 6
STRING_SELECT: 3
USER_SELECT: 5

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

ACTION_ROW: 1
BUTTON: 2
CHANNEL_SELECT: 8
INPUT_TEXT: 4
MENTIONABLE_SELECT: 7
ROLE_SELECT: 6
STRING_SELECT: 3
USER_SELECT: 5

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/enums/TextInputStyle.html b/docs/enums/TextInputStyle.html index 5b4745a..e4ca559 100644 --- a/docs/enums/TextInputStyle.html +++ b/docs/enums/TextInputStyle.html @@ -1,4 +1,4 @@ TextInputStyle | @skeet-framework/discord-utils

Enumeration Members

Enumeration Members

Paragraph: 2
Short: 1

Generated using TypeDoc

\ No newline at end of file +

Enumeration Members

Paragraph: 2
Short: 1

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/addRoleToUser.html b/docs/functions/addRoleToUser.html index 14e953d..07f9f5d 100644 --- a/docs/functions/addRoleToUser.html +++ b/docs/functions/addRoleToUser.html @@ -6,4 +6,4 @@

Throws

Will throw an error if there is a problem adding the role.

Example

const token = 'your_discord_token_here';
const guildId = 'your_guild_id_here';
const userId = 'your_user_id_here';
const roleId = 'your_role_id_here';

const run = async () => {
try {
await addRoleToUser(token, guildId, userId, roleId);
console.log('Role added successfully.');
} catch (error) {
console.error(`Error: ${error.message}`);
}
}

run();
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/createPrivateChannel.html b/docs/functions/createPrivateChannel.html index 9e38aed..c689039 100644 --- a/docs/functions/createPrivateChannel.html +++ b/docs/functions/createPrivateChannel.html @@ -7,4 +7,4 @@

Throws

Will throw an error if there is a problem creating the channel.

Example

const token = 'your_discord_token_here';
const guildId = 'your_guild_id_here';
const channelName = 'private-channel';
const memberId = 'your_member_id_here';

const channel = await createPrivateChannel(token, guildId, channelName, memberId)

if (channel) {
console.log(`Channel created with ID: ${channel.id}`);
} else {
console.log('Channel already exists.');
}
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/createTextChannel.html b/docs/functions/createTextChannel.html index 3b86dc3..339c883 100644 --- a/docs/functions/createTextChannel.html +++ b/docs/functions/createTextChannel.html @@ -7,4 +7,4 @@

Throws

Will throw an error if there is a problem creating the channel.

Example

const token = 'your_discord_token_here';
const guildId = 'your_guild_id_here';
const channelName = 'text-channel';
const memberId = 'your_member_id_here';

const channel = await createTextChannel(token, guildId, channelName, memberId)
console.log(`Channel created with ID: ${channel.id}`)
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/deferResponse.html b/docs/functions/deferResponse.html index 5350bcf..923c63f 100644 --- a/docs/functions/deferResponse.html +++ b/docs/functions/deferResponse.html @@ -7,4 +7,4 @@

Throws

Will throw an error if there is a problem deferring the response.

Example

const token = 'your_discord_token_here';
const interactionId = 'your_interaction_id_here';
const interactionToken = 'your_interaction_token_here';
const content = 'Please wait...';

deferResponse(token, interactionId, interactionToken, content)
.then(success => {
if (success) {
console.log('Response deferred successfully.');
} else {
console.log('Failed to defer the response.');
}
})
.catch(error => console.error(`Error: ${error.message}`));
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/deleteChannel.html b/docs/functions/deleteChannel.html index 554299d..4845a22 100644 --- a/docs/functions/deleteChannel.html +++ b/docs/functions/deleteChannel.html @@ -4,4 +4,4 @@

Throws

Will throw an error if there is a problem deleting the channel.

Example

const token = 'your_discord_token_here'
const channelId = 'your_channel_id_here'

const run = async () => {
try {
await deleteChannel(token, channelId)
console.log('Channel deleted successfully.')
} catch (error) {
console.error(`Error: ${error.message}`)
}
}

run()
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/deployCommands.html b/docs/functions/deployCommands.html index ea9de7c..8471205 100644 --- a/docs/functions/deployCommands.html +++ b/docs/functions/deployCommands.html @@ -9,4 +9,4 @@

Throws

Will throw an error if there is a problem with the deployment.

Example

import { commands } from "./commands";
import { deployCommands } from "@skeet-framework/discord-utils";
import { DISCORD_APPLICATION_ID, DISCORD_GUILD_ID } from "../config";

const commandsData = Object.values(commands).map((command) => command.data);

const run = async () => {
const token = process.argv[2] || '';
try {
await deployCommands(token, DISCORD_APPLICATION_ID, DISCORD_GUILD_ID, commandsData);
console.log('Commands deployed successfully.');
} catch (error) {
console.error(`Error deploying commands: ${error}`);
}
};

run()
.then(() => console.log('Done'))
.catch((error) => console.error(error));
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/discordChangeLog.html b/docs/functions/discordChangeLog.html index fc2a2ea..f1b83bb 100644 --- a/docs/functions/discordChangeLog.html +++ b/docs/functions/discordChangeLog.html @@ -1 +1 @@ -discordChangeLog | @skeet-framework/discord-utils
  • Parameters

    • discordToken: string
    • repoName: string
    • channelIds: string[]
    • lang: string = ''

    Returns Promise<string>

Generated using TypeDoc

\ No newline at end of file +discordChangeLog | @skeet-framework/discord-utils
  • Parameters

    • discordToken: string
    • repoName: string
    • channelIds: string[]
    • lang: string = ''

    Returns Promise<string>

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getGuildMembers.html b/docs/functions/getGuildMembers.html index bc7fae3..982249f 100644 --- a/docs/functions/getGuildMembers.html +++ b/docs/functions/getGuildMembers.html @@ -7,4 +7,4 @@

Throws

Will throw an error if the REST call fails.

Example

import dotenv from 'dotenv'
import { getGuildMembers } from './path-to-this-file'
dotenv.config()

const token = process.env.DISCORD_TOKEN as string
const guildId = process.env.DISCORD_GUILD_ID as string

const run = async () => {
try {
const members = await getGuildMembers(token, guildId)
console.log(`Retrieved ${members.length} members`)
} catch (error) {
console.error(error)
}
}

void run()
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getReleaseInfoAsJson.html b/docs/functions/getReleaseInfoAsJson.html index dbcc1f0..d548c80 100644 --- a/docs/functions/getReleaseInfoAsJson.html +++ b/docs/functions/getReleaseInfoAsJson.html @@ -1 +1 @@ -getReleaseInfoAsJson | @skeet-framework/discord-utils

Generated using TypeDoc

\ No newline at end of file +getReleaseInfoAsJson | @skeet-framework/discord-utils

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/getUserRoles.html b/docs/functions/getUserRoles.html index 407bdf6..6f63ca4 100644 --- a/docs/functions/getUserRoles.html +++ b/docs/functions/getUserRoles.html @@ -6,4 +6,4 @@

Throws

Will throw an error if there is a problem retrieving the user's roles.

Example

const token = 'your_discord_token_here';
const guildId = 'your_guild_id_here';
const userId = 'your_user_id_here';

const run = async () => {
try {
const roles = await getUserRoles(token, guildId, userId);
console.log('User roles:', roles);
} catch (error) {
console.error(`Error: ${error.message}`);
}
}

run();
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/isChannelExist.html b/docs/functions/isChannelExist.html index f1de701..3c0b0f1 100644 --- a/docs/functions/isChannelExist.html +++ b/docs/functions/isChannelExist.html @@ -6,4 +6,4 @@

Throws

Will throw an error if the REST API call fails.

Example

const token = 'your_discord_token_here';
const guildId = 'your_guild_id_here';
const channelName = 'general';

isChannelExist(token, guildId, channelName)
.then(exists => console.log(exists ? 'Channel exists.' : 'Channel does not exist.'))
.catch(error => console.error(`Error: ${error.message}`));
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/messageChannel.html b/docs/functions/messageChannel.html index 68f9112..895adcf 100644 --- a/docs/functions/messageChannel.html +++ b/docs/functions/messageChannel.html @@ -6,4 +6,4 @@

Throws

Will throw an error if there is a problem sending the message.

Example

const token = 'your_discord_token_here';
const channelId = 'your_channel_id_here';
const body = {
content: 'Hello, world!',
};

const run = async () => {
try {
const message = await messageChannel(token, channelId, body);
console.log(`Message sent with ID: ${message.id}`);
} catch (error) {
console.error(`Error: ${error.message}`);
}
}

run();
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/removeUserRole.html b/docs/functions/removeUserRole.html index 81973d9..608e743 100644 --- a/docs/functions/removeUserRole.html +++ b/docs/functions/removeUserRole.html @@ -7,4 +7,4 @@

Throws

Will throw an error if there is a problem removing the role.

Example

const token = 'your_discord_token_here';
const guildId = 'your_guild_id_here';
const userId = 'your_user_id_here';
const roleId = 'your_role_id_here';

const run = async () => {
try {
await removeUserRole(token, guildId, userId, roleId);
console.log('Role removed successfully.');
} catch (error) {
console.error(`Error: ${error.message}`);
}
}

run();
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/updateResponse.html b/docs/functions/updateResponse.html index 8b72e29..4b27275 100644 --- a/docs/functions/updateResponse.html +++ b/docs/functions/updateResponse.html @@ -7,4 +7,4 @@

Throws

Will throw an error if there is a problem updating the response.

Example

const token = 'your_discord_token_here';
const applicationId = 'your_application_id_here';
const interactionToken = 'your_interaction_token_here';
const data = {
content: 'Updated response!',
};

const run = async () => {
try {
const success = await updateResponse(token, applicationId, interactionToken, data);
if (success) {
console.log('Response updated successfully.');
} else {
console.log('Failed to update the response.');
}
} catch (error) {
console.error(`Error: ${error.message}`);
}
}

run();
-

Generated using TypeDoc

\ No newline at end of file +

Generated using TypeDoc

\ No newline at end of file diff --git a/docs/functions/verifyKey.html b/docs/functions/verifyKey.html index 89db7df..bbfe1e7 100644 --- a/docs/functions/verifyKey.html +++ b/docs/functions/verifyKey.html @@ -4,4 +4,4 @@
  • timestamp: string | ArrayBuffer | Uint8Array | Buffer

    The timestamp from the X-Signature-Timestamp header

  • clientPublicKey: string | ArrayBuffer | Uint8Array | Buffer

    The public key from the Discord developer dashboard

  • Returns boolean

    Whether or not validation was successful

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/index.html b/docs/index.html index f6e204a..8f2136f 100644 --- a/docs/index.html +++ b/docs/index.html @@ -55,4 +55,4 @@

    Contributing

    Bug reports and pull requests are welcome on GitHub at https://github.com/elsoul/skeet This project is intended to be a safe, welcoming space for collaboration, and contributors are expected to adhere to the Contributor Covenant code of conduct.

    License

    The package is available as open source under the terms of the Apache-2.0 License.

    Code of Conduct

    Everyone interacting in the SKEET project’s codebases, issue trackers, chat rooms and mailing lists is expected to follow the code of conduct.

    -

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/DiscordUser.html b/docs/interfaces/DiscordUser.html index ad47cf5..fea7de4 100644 --- a/docs/interfaces/DiscordUser.html +++ b/docs/interfaces/DiscordUser.html @@ -1,4 +1,4 @@ -DiscordUser | @skeet-framework/discord-utils

    Hierarchy

    • DiscordUser

    Properties

    accent_color +DiscordUser | @skeet-framework/discord-utils

    Hierarchy

    • DiscordUser

    Properties

    accent_color: null | string
    avatar: string
    avatar_decoration_data: any
    banner: null | string
    banner_color: null | string
    discriminator: string
    flags: number
    global_name: string
    id: string
    premium_type: number
    public_flags: number
    username: string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    accent_color: null | string
    avatar: string
    avatar_decoration_data: any
    banner: null | string
    banner_color: null | string
    discriminator: string
    flags: number
    global_name: string
    id: string
    premium_type: number
    public_flags: number
    username: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/interfaces/GuildMember.html b/docs/interfaces/GuildMember.html index f4f8293..202bd06 100644 --- a/docs/interfaces/GuildMember.html +++ b/docs/interfaces/GuildMember.html @@ -1,4 +1,4 @@ -GuildMember | @skeet-framework/discord-utils

    Hierarchy

    • GuildMember

    Properties

    avatar +GuildMember | @skeet-framework/discord-utils

    Hierarchy

    • GuildMember

    Properties

    avatar: null | string
    communication_disabled_until: null | string
    deaf: boolean
    flags: number
    joined_at: string
    mute: boolean
    nick: null | string
    pending: boolean
    premium_since: null | string
    roles: string[]
    unusual_dm_activity_until: null | string

    Generated using TypeDoc

    \ No newline at end of file +

    Properties

    avatar: null | string
    communication_disabled_until: null | string
    deaf: boolean
    flags: number
    joined_at: string
    mute: boolean
    nick: null | string
    pending: boolean
    premium_since: null | string
    roles: string[]
    unusual_dm_activity_until: null | string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/modules.html b/docs/modules.html index 3c417f1..e2cde8f 100644 --- a/docs/modules.html +++ b/docs/modules.html @@ -11,13 +11,14 @@ TextChannel

    Interfaces

    Type Aliases

    Type Aliases

    Generated using TypeDoc

    \ No newline at end of file +

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/ActionData.html b/docs/types/ActionData.html new file mode 100644 index 0000000..9b688dc --- /dev/null +++ b/docs/types/ActionData.html @@ -0,0 +1 @@ +ActionData | @skeet-framework/discord-utils
    ActionData: {
        component_type: number;
        custom_id: string;
    }

    Type declaration

    • component_type: number
    • custom_id: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/ApplicationCommandData.html b/docs/types/ApplicationCommandData.html index c825ee4..de42678 100644 --- a/docs/types/ApplicationCommandData.html +++ b/docs/types/ApplicationCommandData.html @@ -1 +1 @@ -ApplicationCommandData | @skeet-framework/discord-utils
    ApplicationCommandData: UserApplicationCommandData | MessageApplicationCommandData | ChatInputApplicationCommandData

    Generated using TypeDoc

    \ No newline at end of file +ApplicationCommandData | @skeet-framework/discord-utils
    ApplicationCommandData: UserApplicationCommandData | MessageApplicationCommandData | ChatInputApplicationCommandData

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/Channel.html b/docs/types/Channel.html index c9fddc4..76d4db1 100644 --- a/docs/types/Channel.html +++ b/docs/types/Channel.html @@ -1 +1 @@ -Channel | @skeet-framework/discord-utils
    Channel: {
        flags: number;
        guild_id: string;
        id: string;
        last_message_id: string;
        name: string;
        nsfw: boolean;
        parent_id: string;
        permissions: string;
        position: number;
        rate_limit_per_user: number;
        topic: string | null;
        type: number;
    }

    Type declaration

    • flags: number
    • guild_id: string
    • id: string
    • last_message_id: string
    • name: string
    • nsfw: boolean
    • parent_id: string
    • permissions: string
    • position: number
    • rate_limit_per_user: number
    • topic: string | null
    • type: number

    Generated using TypeDoc

    \ No newline at end of file +Channel | @skeet-framework/discord-utils
    Channel: {
        flags: number;
        guild_id: string;
        id: string;
        last_message_id: string;
        name: string;
        nsfw: boolean;
        parent_id: string;
        permissions: string;
        position: number;
        rate_limit_per_user: number;
        topic: string | null;
        type: number;
    }

    Type declaration

    • flags: number
    • guild_id: string
    • id: string
    • last_message_id: string
    • name: string
    • nsfw: boolean
    • parent_id: string
    • permissions: string
    • position: number
    • rate_limit_per_user: number
    • topic: string | null
    • type: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/CommandData.html b/docs/types/CommandData.html index 4c21c8e..9b8ec7f 100644 --- a/docs/types/CommandData.html +++ b/docs/types/CommandData.html @@ -1 +1 @@ -CommandData | @skeet-framework/discord-utils
    CommandData: {
        guild_id: string;
        id: string;
        name: string;
        options: CommandOption[];
        type: number;
    }

    Type declaration

    • guild_id: string
    • id: string
    • name: string
    • options: CommandOption[]
    • type: number

    Generated using TypeDoc

    \ No newline at end of file +CommandData | @skeet-framework/discord-utils
    CommandData: {
        guild_id: string;
        id: string;
        name: string;
        options: CommandOption[];
        type: number;
    }

    Type declaration

    • guild_id: string
    • id: string
    • name: string
    • options: CommandOption[]
    • type: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/CommandOption.html b/docs/types/CommandOption.html index 25d7bdf..c7fd252 100644 --- a/docs/types/CommandOption.html +++ b/docs/types/CommandOption.html @@ -1 +1 @@ -CommandOption | @skeet-framework/discord-utils
    CommandOption: {
        name: string;
        value: string;
    }

    Type declaration

    • name: string
    • value: string

    Generated using TypeDoc

    \ No newline at end of file +CommandOption | @skeet-framework/discord-utils
    CommandOption: {
        name: string;
        value: string;
    }

    Type declaration

    • name: string
    • value: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/DiscordRouterParams.html b/docs/types/DiscordRouterParams.html new file mode 100644 index 0000000..1f2b648 --- /dev/null +++ b/docs/types/DiscordRouterParams.html @@ -0,0 +1 @@ +DiscordRouterParams | @skeet-framework/discord-utils
    DiscordRouterParams: {
        app_permissions: string;
        application_id: string;
        channel: Channel;
        channel_id: string;
        data: CommandData | ActionData;
        entitlement_sku_ids: string[];
        entitlements: any[];
        guild: Guild;
        guild_id: string;
        guild_locale: string;
        id: string;
        locale: string;
        member: Member;
        token: string;
        type: number;
        version: number;
    }

    Type declaration

    • app_permissions: string
    • application_id: string
    • channel: Channel
    • channel_id: string
    • data: CommandData | ActionData
    • entitlement_sku_ids: string[]
    • entitlements: any[]
    • guild: Guild
    • guild_id: string
    • guild_locale: string
    • id: string
    • locale: string
    • member: Member
    • token: string
    • type: number
    • version: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/Guild.html b/docs/types/Guild.html index 6eb3207..620d361 100644 --- a/docs/types/Guild.html +++ b/docs/types/Guild.html @@ -1 +1 @@ -Guild | @skeet-framework/discord-utils
    Guild: {
        features: string[];
        id: string;
        locale: string;
    }

    Type declaration

    • features: string[]
    • id: string
    • locale: string

    Generated using TypeDoc

    \ No newline at end of file +Guild | @skeet-framework/discord-utils
    Guild: {
        features: string[];
        id: string;
        locale: string;
    }

    Type declaration

    • features: string[]
    • id: string
    • locale: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/Interaction.html b/docs/types/Interaction.html index 4acca2d..3501efe 100644 --- a/docs/types/Interaction.html +++ b/docs/types/Interaction.html @@ -1 +1 @@ -Interaction | @skeet-framework/discord-utils

    Type alias Interaction<Cached>

    Interaction<Cached>: ChatInputCommandInteraction<Cached> | MessageContextMenuCommandInteraction<Cached> | UserContextMenuCommandInteraction<Cached> | AnySelectMenuInteraction<Cached> | ButtonInteraction<Cached> | AutocompleteInteraction<Cached> | ModalSubmitInteraction<Cached>

    Type Parameters

    • Cached extends CacheType = CacheType

    Generated using TypeDoc

    \ No newline at end of file +Interaction | @skeet-framework/discord-utils

    Type alias Interaction<Cached>

    Interaction<Cached>: ChatInputCommandInteraction<Cached> | MessageContextMenuCommandInteraction<Cached> | UserContextMenuCommandInteraction<Cached> | AnySelectMenuInteraction<Cached> | ButtonInteraction<Cached> | AutocompleteInteraction<Cached> | ModalSubmitInteraction<Cached>

    Type Parameters

    • Cached extends CacheType = CacheType

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/InteractionParams.html b/docs/types/InteractionParams.html deleted file mode 100644 index c47f9a4..0000000 --- a/docs/types/InteractionParams.html +++ /dev/null @@ -1 +0,0 @@ -InteractionParams | @skeet-framework/discord-utils
    InteractionParams: {
        app_permissions: string;
        application_id: string;
        channel: Channel;
        channel_id: string;
        data: CommandData;
        entitlement_sku_ids: string[];
        entitlements: any[];
        guild: Guild;
        guild_id: string;
        guild_locale: string;
        id: string;
        locale: string;
        member: Member;
        token: string;
        type: number;
        version: number;
    }

    Type declaration

    • app_permissions: string
    • application_id: string
    • channel: Channel
    • channel_id: string
    • data: CommandData
    • entitlement_sku_ids: string[]
    • entitlements: any[]
    • guild: Guild
    • guild_id: string
    • guild_locale: string
    • id: string
    • locale: string
    • member: Member
    • token: string
    • type: number
    • version: number

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/Member.html b/docs/types/Member.html index 70c4cf9..2ce4832 100644 --- a/docs/types/Member.html +++ b/docs/types/Member.html @@ -1 +1 @@ -Member | @skeet-framework/discord-utils
    Member: {
        avatar: string | null;
        communication_disabled_until: string | null;
        deaf: boolean;
        flags: number;
        joined_at: string;
        mute: boolean;
        nick: string | null;
        pending: boolean;
        permissions: string;
        premium_since: string | null;
        roles: string[];
        unusual_dm_activity_until: string | null;
        user: User;
    }

    Type declaration

    • avatar: string | null
    • communication_disabled_until: string | null
    • deaf: boolean
    • flags: number
    • joined_at: string
    • mute: boolean
    • nick: string | null
    • pending: boolean
    • permissions: string
    • premium_since: string | null
    • roles: string[]
    • unusual_dm_activity_until: string | null
    • user: User

    Generated using TypeDoc

    \ No newline at end of file +Member | @skeet-framework/discord-utils
    Member: {
        avatar: string | null;
        communication_disabled_until: string | null;
        deaf: boolean;
        flags: number;
        joined_at: string;
        mute: boolean;
        nick: string | null;
        pending: boolean;
        permissions: string;
        premium_since: string | null;
        roles: string[];
        unusual_dm_activity_until: string | null;
        user: User;
    }

    Type declaration

    • avatar: string | null
    • communication_disabled_until: string | null
    • deaf: boolean
    • flags: number
    • joined_at: string
    • mute: boolean
    • nick: string | null
    • pending: boolean
    • permissions: string
    • premium_since: string | null
    • roles: string[]
    • unusual_dm_activity_until: string | null
    • user: User

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/MessageComponentType.html b/docs/types/MessageComponentType.html index cf35866..e572555 100644 --- a/docs/types/MessageComponentType.html +++ b/docs/types/MessageComponentType.html @@ -1 +1 @@ -MessageComponentType | @skeet-framework/discord-utils
    MessageComponentType: Exclude<ComponentType, TextInput | ActionRow>

    Generated using TypeDoc

    \ No newline at end of file +MessageComponentType | @skeet-framework/discord-utils
    MessageComponentType: Exclude<ComponentType, TextInput | ActionRow>

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/ReleaseInfo.html b/docs/types/ReleaseInfo.html index 76bd816..bd5c6be 100644 --- a/docs/types/ReleaseInfo.html +++ b/docs/types/ReleaseInfo.html @@ -1 +1 @@ -ReleaseInfo | @skeet-framework/discord-utils
    ReleaseInfo: {
        author: string;
        created: string;
        draft: boolean;
        prerelease: boolean;
        published: string;
        tag: string;
        url: string;
        whatsChanged: string;
    }

    Type declaration

    • author: string
    • created: string
    • draft: boolean
    • prerelease: boolean
    • published: string
    • tag: string
    • url: string
    • whatsChanged: string

    Generated using TypeDoc

    \ No newline at end of file +ReleaseInfo | @skeet-framework/discord-utils
    ReleaseInfo: {
        author: string;
        created: string;
        draft: boolean;
        prerelease: boolean;
        published: string;
        tag: string;
        url: string;
        whatsChanged: string;
    }

    Type declaration

    • author: string
    • created: string
    • draft: boolean
    • prerelease: boolean
    • published: string
    • tag: string
    • url: string
    • whatsChanged: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/TextChannelType.html b/docs/types/TextChannelType.html index e40a466..25c2521 100644 --- a/docs/types/TextChannelType.html +++ b/docs/types/TextChannelType.html @@ -1 +1 @@ -TextChannelType | @skeet-framework/discord-utils
    TextChannelType: ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildAnnouncement | ChannelType.PublicThread | ChannelType.PrivateThread | ChannelType.AnnouncementThread | ChannelType.GuildText | ChannelType.GuildForum | ChannelType.GuildVoice | ChannelType.GuildStageVoice | ChannelType.GuildMedia

    Generated using TypeDoc

    \ No newline at end of file +TextChannelType | @skeet-framework/discord-utils
    TextChannelType: ChannelType.DM | ChannelType.GroupDM | ChannelType.GuildAnnouncement | ChannelType.PublicThread | ChannelType.PrivateThread | ChannelType.AnnouncementThread | ChannelType.GuildText | ChannelType.GuildForum | ChannelType.GuildVoice | ChannelType.GuildStageVoice | ChannelType.GuildMedia

    Generated using TypeDoc

    \ No newline at end of file diff --git a/docs/types/User.html b/docs/types/User.html index 4c56c6a..587cdcc 100644 --- a/docs/types/User.html +++ b/docs/types/User.html @@ -1 +1 @@ -User | @skeet-framework/discord-utils
    User: {
        avatar: string;
        avatar_decoration_data: any | null;
        discriminator: string;
        global_name: string;
        id: string;
        public_flags: number;
        username: string;
    }

    Type declaration

    • avatar: string
    • avatar_decoration_data: any | null
    • discriminator: string
    • global_name: string
    • id: string
    • public_flags: number
    • username: string

    Generated using TypeDoc

    \ No newline at end of file +User | @skeet-framework/discord-utils
    User: {
        avatar: string;
        avatar_decoration_data: any | null;
        discriminator: string;
        global_name: string;
        id: string;
        public_flags: number;
        username: string;
    }

    Type declaration

    • avatar: string
    • avatar_decoration_data: any | null
    • discriminator: string
    • global_name: string
    • id: string
    • public_flags: number
    • username: string

    Generated using TypeDoc

    \ No newline at end of file diff --git a/package.json b/package.json index fe83572..8ef1757 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@skeet-framework/discord-utils", - "version": "0.2.12", + "version": "0.2.13", "description": "Skeet Framework Plugin - Discord Utils", "main": "dist/index.js", "types": "dist/index.d.ts", diff --git a/src/lib/version.ts b/src/lib/version.ts index dde51cf..80da0d1 100644 --- a/src/lib/version.ts +++ b/src/lib/version.ts @@ -1 +1 @@ -export const VERSION = '0.2.12' \ No newline at end of file +export const VERSION = '0.2.13' \ No newline at end of file