snowtransfer 0.17.3 → 0.17.5

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/README.md CHANGED
@@ -6,7 +6,7 @@
6
6
  Part of the WeatherStack
7
7
 
8
8
  SnowTransfer is a small library specially made to **only** cover the REST/HTTP area of the discord api.
9
- It makes no assumptions about the rest of your stack, therefore you can use it anywhere as long as you use node 16.15.0 or higher.
9
+ It makes no assumptions about the rest of your stack, therefore you can use it anywhere as long as you use node 22.0.0 or higher.
10
10
 
11
11
  ### Some of the things that make SnowTransfer awesome:
12
12
  - No requirement for other components
@@ -27,7 +27,7 @@ I've written a general whitepaper on the idea of microservice bots, which you ca
27
27
  You can find the docs at [https://daswolke.github.io/SnowTransfer/](https://daswolke.github.io/SnowTransfer/)
28
28
 
29
29
  ### Installation:
30
- To install SnowTransfer, make sure that you have node 16.15.0 or higher and npm installed on your computer.
30
+ To install SnowTransfer, make sure that you have node 22.0.0 or higher and npm installed on your computer.
31
31
 
32
32
  Then run the following command in a terminal `npm install snowtransfer`
33
33
 
package/dist/index.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import EventEmitter, { EventEmitter as EventEmitter$1 } from 'events';
2
- import { RESTGetAPIAuditLogQuery, RESTGetAPIAuditLogResult, RESTGetAPIAutoModerationRulesResult, RESTGetAPIAutoModerationRuleResult, RESTPostAPIAutoModerationRuleJSONBody, RESTPostAPIAutoModerationRuleResult, RESTPatchAPIAutoModerationRuleJSONBody, RESTPatchAPIAutoModerationRuleResult, RESTDeleteAPIAutoModerationRuleResult, RESTGetAPIGatewayResult, RESTGetAPIGatewayBotResult, APIApplication, RESTPatchCurrentApplicationJSONBody, RESTGetAPIGuildEmojisResult, RESTGetAPIGuildEmojiResult, RESTPostAPIGuildEmojiJSONBody, RESTPostAPIGuildEmojiResult, RESTPatchAPIGuildEmojiJSONBody, RESTPatchAPIGuildEmojiResult, RESTDeleteAPIGuildEmojiResult, RESTGetAPIStickerResult, RESTGetAPIGuildStickersResult, RESTGetAPIGuildStickerResult, RESTPostAPIGuildStickerFormDataBody, RESTPostAPIGuildStickerResult, RESTPatchAPIGuildStickerJSONBody, RESTPatchAPIGuildStickerResult, RESTDeleteAPIGuildStickerResult, RESTGetAPIApplicationEmojisResult, RESTGetAPIApplicationEmojiResult, RESTPostAPIApplicationEmojiJSONBody, RESTPostAPIApplicationEmojiResult, RESTPatchAPIApplicationEmojiJSONBody, RESTPatchAPIApplicationEmojiResult, RESTDeleteAPIApplicationEmojiResult, RESTGetAPIEntitlementsResult, RESTGetAPIEntitlementResult, RESTPostAPIEntitlementConsumeResult, RESTPostAPIEntitlementJSONBody, RESTPostAPIEntitlementResult, RESTDeleteAPIEntitlementResult, RESTGetAPIGuildResult, RESTGetAPIGuildPreviewResult, RESTPatchAPIGuildJSONBody, RESTPatchAPIGuildResult, RESTGetAPIGuildChannelsResult, RESTPostAPIGuildChannelJSONBody, RESTPostAPIGuildChannelResult, RESTPatchAPIGuildChannelPositionsJSONBody, RESTPatchAPIGuildChannelPositionsResult, RESTGetAPIGuildThreadsResult, RESTGetAPIGuildMemberResult, RESTGetAPIGuildMembersQuery, RESTGetAPIGuildMembersResult, RESTGetAPIGuildMembersSearchQuery, RESTGetAPIGuildMembersSearchResult, RESTPutAPIGuildMemberJSONBody, RESTPutAPIGuildMemberResult, RESTPatchAPIGuildMemberJSONBody, RESTPatchAPIGuildMemberResult, RESTPatchAPICurrentGuildMemberJSONBody, APIGuildMember, RESTPutAPIGuildMemberRoleResult, RESTDeleteAPIGuildMemberRoleResult, RESTDeleteAPIGuildMemberResult, RESTGetAPIGuildBansQuery, RESTGetAPIGuildBansResult, RESTGetAPIGuildBanResult, RESTPutAPIGuildBanJSONBody, RESTPutAPIGuildBanResult, RESTDeleteAPIGuildBanResult, RESTGetAPIGuildRolesResult, RESTPostAPIGuildRoleJSONBody, RESTPostAPIGuildRoleResult, RESTPatchAPIGuildRolePositionsJSONBody, RESTPatchAPIGuildRolePositionsResult, RESTPatchAPIGuildRoleJSONBody, RESTPatchAPIGuildRoleResult, RESTDeleteAPIGuildRoleResult, RESTGetAPIGuildPruneCountQuery, RESTGetAPIGuildPruneCountResult, RESTPostAPIGuildPruneJSONBody, RESTPostAPIGuildPruneResult, RESTGetAPIGuildVoiceRegionsResult, RESTGetAPIGuildInvitesResult, RESTGetAPIGuildIntegrationsResult, RESTDeleteAPIGuildIntegrationResult, RESTGetAPIGuildWidgetSettingsResult, RESTPatchAPIGuildWidgetSettingsJSONBody, RESTPatchAPIGuildWidgetSettingsResult, APIGuildWidget, RESTGetAPIGuildVanityUrlResult, RESTGetAPIGuildWelcomeScreenResult, RESTPatchAPIGuildWelcomeScreenJSONBody, RESTPatchAPIGuildWelcomeScreenResult, RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody, RESTPatchAPIGuildVoiceStateCurrentMemberResult, RESTPatchAPIGuildVoiceStateUserJSONBody, RESTPatchAPIGuildVoiceStateUserResult, RESTGetAPIGuildScheduledEventsResult, RESTPostAPIGuildScheduledEventJSONBody, RESTPostAPIGuildScheduledEventResult, RESTGetAPIGuildScheduledEventResult, RESTPatchAPIGuildScheduledEventJSONBody, RESTPatchAPIGuildScheduledEventResult, RESTDeleteAPIGuildScheduledEventResult, RESTGetAPIGuildScheduledEventUsersQuery, RESTGetAPIGuildScheduledEventUsersResult, RESTGetAPITemplateResult, RESTGetAPIGuildTemplatesResult, RESTPostAPIGuildTemplatesJSONBody, RESTPostAPIGuildTemplatesResult, RESTPutAPIGuildTemplateSyncResult, RESTPatchAPIGuildTemplateJSONBody, RESTPatchAPIGuildTemplateResult, RESTDeleteAPIGuildTemplateResult, RESTPostAPIChannelWebhookJSONBody, RESTPostAPIChannelWebhookResult, RESTGetAPIChannelWebhooksResult, RESTGetAPIGuildWebhooksResult, RESTGetAPIWebhookResult, RESTPatchAPIWebhookJSONBody, RESTPatchAPIWebhookResult, RESTPatchAPIWebhookWithTokenJSONBody, RESTPatchAPIWebhookWithTokenResult, RESTDeleteAPIWebhookResult, RESTPostAPIWebhookWithTokenJSONBody, RESTPostAPIWebhookWithTokenQuery, RESTPostAPIWebhookWithTokenResult, RESTPostAPIWebhookWithTokenWaitResult, RESTPostAPIWebhookWithTokenSlackQuery, RESTPostAPIWebhookWithTokenSlackResult, RESTPostAPIWebhookWithTokenSlackWaitResult, RESTPostAPIWebhookWithTokenGitHubQuery, RESTPostAPIWebhookWithTokenGitHubResult, RESTPostAPIWebhookWithTokenGitHubWaitResult, RESTGetAPIWebhookWithTokenMessageResult, RESTPatchAPIWebhookWithTokenMessageJSONBody, RESTPatchAPIWebhookWithTokenMessageResult, RESTDeleteAPIWebhookWithTokenMessageResult, RESTGetAPIApplicationCommandsResult, RESTPostAPIApplicationCommandsJSONBody, RESTPostAPIApplicationCommandsResult, RESTGetAPIApplicationCommandResult, RESTPatchAPIApplicationCommandJSONBody, RESTPatchAPIApplicationCommandResult, RESTPutAPIApplicationCommandsJSONBody, RESTPutAPIApplicationCommandsResult, RESTGetAPIApplicationGuildCommandsResult, RESTPostAPIApplicationGuildCommandsJSONBody, RESTPostAPIApplicationGuildCommandsResult, RESTGetAPIApplicationGuildCommandResult, RESTPatchAPIApplicationGuildCommandJSONBody, RESTPatchAPIApplicationGuildCommandResult, RESTPutAPIApplicationGuildCommandsJSONBody, RESTPutAPIApplicationGuildCommandsResult, RESTGetAPIApplicationCommandPermissionsResult, RESTPutAPIApplicationCommandPermissionsJSONBody, RESTPutAPIApplicationCommandPermissionsResult, RESTPostAPIInteractionCallbackJSONBody, RESTGetAPIInteractionOriginalResponseResult, RESTPatchAPIInteractionOriginalResponseJSONBody, RESTPatchAPIInteractionOriginalResponseResult, RESTDeleteAPIInteractionOriginalResponseResult, RESTPostAPIInteractionFollowupJSONBody, RESTPostAPIInteractionFollowupResult, RESTGetAPIInteractionFollowupResult, RESTPatchAPIInteractionFollowupJSONBody, RESTPatchAPIInteractionFollowupResult, RESTDeleteAPIInteractionFollowupResult, RESTGetAPIInviteQuery, RESTGetAPIInviteResult, RESTDeleteAPIInviteResult, RESTGetAPISKUsResult, RESTGetAPISKUSubscriptionsQuery, RESTGetAPISKUSubscriptionsResult, RESTGetAPISKUSubscriptionResult, RESTPostAPIStageInstanceJSONBody, RESTPostAPIStageInstanceResult, RESTGetAPIStageInstanceResult, RESTPatchAPIStageInstanceJSONBody, RESTPatchAPIStageInstanceResult, RESTDeleteAPIStageInstanceResult, RESTGetAPICurrentUserResult, RESTGetAPIUserResult, RESTPatchAPICurrentUserJSONBody, RESTPatchAPICurrentUserResult, RESTGetAPICurrentUserGuildsQuery, RESTGetAPICurrentUserGuildsResult, RESTDeleteAPICurrentUserGuildResult, RESTPostAPICurrentUserCreateDMChannelResult, RESTGetAPICurrentUserConnectionsResult, RESTGetAPICurrentUserApplicationRoleConnectionResult, RESTPutAPICurrentUserApplicationRoleConnectionJSONBody, RESTPutAPICurrentUserApplicationRoleConnectionResult, RESTGetAPIVoiceRegionsResult, APIVoiceState, APIAllowedMentions, RESTGetAPIChannelResult, RESTPatchAPIChannelJSONBody, RESTPatchAPIChannelResult, APIThreadChannel, RESTDeleteAPIChannelResult, RESTGetAPIChannelMessagesQuery, RESTGetAPIChannelMessagesResult, RESTGetAPIChannelMessageResult, RESTPostAPIChannelMessageJSONBody, RESTPostAPIChannelMessageResult, RESTPostAPIChannelMessageCrosspostResult, RESTPutAPIChannelMessageReactionResult, RESTDeleteAPIChannelMessageUserReactionResult, RESTDeleteAPIChannelMessageReactionResult, RESTGetAPIChannelMessageReactionUsersQuery, RESTGetAPIChannelMessageReactionUsersResult, RESTDeleteAPIChannelAllMessageReactionsResult, RESTPatchAPIChannelMessageJSONBody, RESTPatchAPIChannelMessageResult, RESTDeleteAPIChannelMessageResult, RESTPostAPIChannelMessagesBulkDeleteResult, RESTPutAPIChannelPermissionJSONBody, RESTPutAPIChannelPermissionResult, RESTGetAPIChannelInvitesResult, RESTPostAPIChannelInviteJSONBody, RESTPostAPIChannelInviteResult, RESTDeleteAPIChannelPermissionResult, RESTPostAPIChannelFollowersResult, RESTPostAPIChannelTypingResult, RESTGetAPIChannelMessagesPinsQuery, RESTGetAPIChannelMessagesPinsResult, RESTPutAPIChannelMessagesPinResult, RESTDeleteAPIChannelMessagesPinResult, RESTPostAPIChannelMessagesThreadsJSONBody, RESTPostAPIChannelMessagesThreadsResult, RESTPostAPIChannelThreadsJSONBody, APITextBasedChannel, ChannelType, RESTPutAPIChannelThreadMembersResult, RESTDeleteAPIChannelThreadMembersResult, RESTGetAPIChannelThreadMemberResult, RESTGetAPIChannelThreadMembersQuery, RESTGetAPIChannelThreadMembersResult, RESTGetAPIChannelThreadsArchivedQuery, RESTGetAPIChannelThreadsArchivedPublicResult, RESTGetAPIChannelThreadsArchivedPrivateResult, RESTGetAPIChannelUsersThreadsArchivedResult, RESTGetAPIPollAnswerVotersQuery, RESTGetAPIPollAnswerVotersResult, RESTPostAPIPollExpireResult, RESTPostOAuth2AccessTokenResult } from 'discord-api-types/v10';
2
+ import { RESTGetAPIAuditLogQuery, RESTGetAPIAuditLogResult, RESTGetAPIAutoModerationRulesResult, RESTGetAPIAutoModerationRuleResult, RESTPostAPIAutoModerationRuleJSONBody, RESTPostAPIAutoModerationRuleResult, RESTPatchAPIAutoModerationRuleJSONBody, RESTPatchAPIAutoModerationRuleResult, RESTGetAPIGatewayResult, RESTGetAPIGatewayBotResult, APIApplication, RESTPatchCurrentApplicationJSONBody, RESTGetAPIGuildEmojisResult, RESTGetAPIGuildEmojiResult, RESTPostAPIGuildEmojiJSONBody, RESTPostAPIGuildEmojiResult, RESTPatchAPIGuildEmojiJSONBody, RESTPatchAPIGuildEmojiResult, RESTGetAPIStickerResult, RESTGetAPIGuildStickersResult, RESTGetAPIGuildStickerResult, RESTPostAPIGuildStickerFormDataBody, RESTPostAPIGuildStickerResult, RESTPatchAPIGuildStickerJSONBody, RESTPatchAPIGuildStickerResult, RESTGetAPIApplicationEmojisResult, RESTGetAPIApplicationEmojiResult, RESTPostAPIApplicationEmojiJSONBody, RESTPostAPIApplicationEmojiResult, RESTPatchAPIApplicationEmojiJSONBody, RESTPatchAPIApplicationEmojiResult, RESTGetAPIEntitlementsResult, RESTGetAPIEntitlementResult, RESTPostAPIEntitlementJSONBody, RESTPostAPIEntitlementResult, RESTGetAPIGuildResult, RESTGetAPIGuildPreviewResult, RESTPatchAPIGuildJSONBody, RESTPatchAPIGuildResult, RESTGetAPIGuildChannelsResult, RESTPostAPIGuildChannelJSONBody, RESTPostAPIGuildChannelResult, RESTPatchAPIGuildChannelPositionsJSONBody, RESTGetAPIGuildThreadsResult, RESTGetAPIGuildMemberResult, RESTGetAPIGuildMembersQuery, RESTGetAPIGuildMembersResult, RESTGetAPIGuildMembersSearchQuery, RESTGetAPIGuildMembersSearchResult, RESTPutAPIGuildMemberJSONBody, RESTPutAPIGuildMemberResult, RESTPatchAPIGuildMemberJSONBody, RESTPatchAPIGuildMemberResult, RESTPatchAPICurrentGuildMemberJSONBody, APIGuildMember, RESTGetAPIGuildBansQuery, RESTGetAPIGuildBansResult, RESTGetAPIGuildBanResult, RESTPutAPIGuildBanJSONBody, RESTGetAPIGuildRolesResult, RESTPostAPIGuildRoleJSONBody, RESTPostAPIGuildRoleResult, RESTPatchAPIGuildRolePositionsJSONBody, RESTPatchAPIGuildRolePositionsResult, RESTPatchAPIGuildRoleJSONBody, RESTPatchAPIGuildRoleResult, RESTGetAPIGuildPruneCountQuery, RESTGetAPIGuildPruneCountResult, RESTPostAPIGuildPruneJSONBody, RESTPostAPIGuildPruneResult, RESTGetAPIGuildVoiceRegionsResult, RESTGetAPIGuildInvitesResult, RESTGetAPIGuildIntegrationsResult, RESTGetAPIGuildWidgetSettingsResult, RESTPatchAPIGuildWidgetSettingsJSONBody, RESTPatchAPIGuildWidgetSettingsResult, APIGuildWidget, RESTGetAPIGuildVanityUrlResult, RESTGetAPIGuildWelcomeScreenResult, RESTPatchAPIGuildWelcomeScreenJSONBody, RESTPatchAPIGuildWelcomeScreenResult, RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody, RESTPatchAPIGuildVoiceStateUserJSONBody, RESTGetAPIGuildScheduledEventsResult, RESTPostAPIGuildScheduledEventJSONBody, RESTPostAPIGuildScheduledEventResult, RESTGetAPIGuildScheduledEventResult, RESTPatchAPIGuildScheduledEventJSONBody, RESTPatchAPIGuildScheduledEventResult, RESTGetAPIGuildScheduledEventUsersQuery, RESTGetAPIGuildScheduledEventUsersResult, RESTGetAPITemplateResult, RESTGetAPIGuildTemplatesResult, RESTPostAPIGuildTemplatesJSONBody, RESTPostAPIGuildTemplatesResult, RESTPutAPIGuildTemplateSyncResult, RESTPatchAPIGuildTemplateJSONBody, RESTPatchAPIGuildTemplateResult, RESTDeleteAPIGuildTemplateResult, RESTPostAPIChannelWebhookJSONBody, RESTPostAPIChannelWebhookResult, RESTGetAPIChannelWebhooksResult, RESTGetAPIGuildWebhooksResult, RESTGetAPIWebhookResult, RESTPatchAPIWebhookJSONBody, RESTPatchAPIWebhookResult, RESTPatchAPIWebhookWithTokenJSONBody, RESTPatchAPIWebhookWithTokenResult, RESTPostAPIWebhookWithTokenJSONBody, RESTPostAPIWebhookWithTokenQuery, RESTPostAPIWebhookWithTokenResult, RESTPostAPIWebhookWithTokenWaitResult, RESTPostAPIWebhookWithTokenSlackQuery, RESTPostAPIWebhookWithTokenSlackResult, RESTPostAPIWebhookWithTokenSlackWaitResult, RESTPostAPIWebhookWithTokenGitHubQuery, RESTPostAPIWebhookWithTokenGitHubResult, RESTPostAPIWebhookWithTokenGitHubWaitResult, RESTGetAPIWebhookWithTokenMessageResult, RESTPatchAPIWebhookWithTokenMessageJSONBody, RESTPatchAPIWebhookWithTokenMessageResult, RESTGetAPIApplicationCommandsResult, RESTPostAPIApplicationCommandsJSONBody, RESTPostAPIApplicationCommandsResult, RESTGetAPIApplicationCommandResult, RESTPatchAPIApplicationCommandJSONBody, RESTPatchAPIApplicationCommandResult, RESTPutAPIApplicationCommandsJSONBody, RESTPutAPIApplicationCommandsResult, RESTGetAPIApplicationGuildCommandsResult, RESTPostAPIApplicationGuildCommandsJSONBody, RESTPostAPIApplicationGuildCommandsResult, RESTGetAPIApplicationGuildCommandResult, RESTPatchAPIApplicationGuildCommandJSONBody, RESTPatchAPIApplicationGuildCommandResult, RESTPutAPIApplicationGuildCommandsJSONBody, RESTPutAPIApplicationGuildCommandsResult, RESTGetAPIApplicationCommandPermissionsResult, RESTPutAPIApplicationCommandPermissionsJSONBody, RESTPutAPIApplicationCommandPermissionsResult, RESTPostAPIInteractionCallbackJSONBody, RESTGetAPIInteractionOriginalResponseResult, RESTPatchAPIInteractionOriginalResponseJSONBody, RESTPatchAPIInteractionOriginalResponseResult, RESTPostAPIInteractionFollowupJSONBody, RESTPostAPIInteractionFollowupResult, RESTGetAPIInteractionFollowupResult, RESTPatchAPIInteractionFollowupJSONBody, RESTPatchAPIInteractionFollowupResult, RESTGetAPIInviteQuery, RESTGetAPIInviteResult, RESTDeleteAPIInviteResult, RESTGetAPISKUsResult, RESTGetAPISKUSubscriptionsQuery, RESTGetAPISKUSubscriptionsResult, RESTGetAPISKUSubscriptionResult, RESTPostAPIStageInstanceJSONBody, RESTPostAPIStageInstanceResult, RESTGetAPIStageInstanceResult, RESTPatchAPIStageInstanceJSONBody, RESTPatchAPIStageInstanceResult, RESTGetAPICurrentUserResult, RESTGetAPIUserResult, RESTPatchAPICurrentUserJSONBody, RESTPatchAPICurrentUserResult, RESTGetAPICurrentUserGuildsQuery, RESTGetAPICurrentUserGuildsResult, RESTPostAPICurrentUserCreateDMChannelResult, RESTGetAPICurrentUserConnectionsResult, RESTGetAPICurrentUserApplicationRoleConnectionResult, RESTPutAPICurrentUserApplicationRoleConnectionJSONBody, RESTPutAPICurrentUserApplicationRoleConnectionResult, RESTGetAPIVoiceRegionsResult, APIVoiceState, APIAllowedMentions, RESTGetAPIChannelResult, RESTPatchAPIChannelJSONBody, RESTPatchAPIChannelResult, APIThreadChannel, RESTDeleteAPIChannelResult, RESTGetAPIChannelMessagesQuery, RESTGetAPIChannelMessagesResult, RESTGetAPIChannelMessageResult, RESTPostAPIChannelMessageJSONBody, RESTPostAPIChannelMessageResult, RESTPostAPIChannelMessageCrosspostResult, RESTGetAPIChannelMessageReactionUsersQuery, RESTGetAPIChannelMessageReactionUsersResult, RESTPatchAPIChannelMessageJSONBody, RESTPatchAPIChannelMessageResult, RESTPutAPIChannelPermissionJSONBody, RESTGetAPIChannelInvitesResult, RESTPostAPIChannelInviteJSONBody, RESTPostAPIChannelInviteResult, RESTPostAPIChannelFollowersResult, RESTGetAPIChannelMessagesPinsQuery, RESTGetAPIChannelMessagesPinsResult, RESTPostAPIChannelMessagesThreadsJSONBody, RESTPostAPIChannelMessagesThreadsResult, RESTPostAPIChannelThreadsJSONBody, APITextBasedChannel, ChannelType, RESTGetAPIChannelThreadMemberResult, RESTGetAPIChannelThreadMembersQuery, RESTGetAPIChannelThreadMembersResult, RESTGetAPIChannelThreadsArchivedQuery, RESTGetAPIChannelThreadsArchivedPublicResult, RESTGetAPIChannelThreadsArchivedPrivateResult, RESTGetAPIChannelUsersThreadsArchivedResult, RESTGetAPIPollAnswerVotersQuery, RESTGetAPIPollAnswerVotersResult, RESTPostAPIPollExpireResult, RESTPostOAuth2AccessTokenResult } from 'discord-api-types/v10';
3
3
  import { Blob, File as File$1 } from 'buffer';
4
4
  import { Readable } from 'stream';
5
5
  import { ReadableStream } from 'stream/web';
@@ -113,8 +113,9 @@ declare class StateMachine extends EventEmitter<StateMachineEvents> {
113
113
  * @since 0.16.0
114
114
  * @param event The event that can trigger this transition.
115
115
  * @param to The name of the state this transition would go to.
116
+ * @param cb A callback to run when this transition occurs.
116
117
  */
117
- defineUniversalTransition(event: string, to: string): this;
118
+ defineUniversalTransition(event: string, to: string, cb?: (...args: any[]) => unknown): this;
118
119
  /**
119
120
  * Finalize the state machine, making its states and transitions now readonly and usable.
120
121
  * @since 0.16.0
@@ -560,7 +561,7 @@ declare class AutoModerationMethods {
560
561
  * const client = new SnowTransfer("TOKEN")
561
562
  * client.autoMod.deleteAutoModerationRules("guild id", "rule id", "was useless")
562
563
  */
563
- deleteAutoModerationRule(guildId: string, ruleId: string, reason?: string): Promise<RESTDeleteAPIAutoModerationRuleResult>;
564
+ deleteAutoModerationRule(guildId: string, ruleId: string, reason?: string): Promise<void>;
564
565
  }
565
566
 
566
567
  /**
@@ -728,7 +729,7 @@ declare class AssetsMethods {
728
729
  * const client = new SnowTransfer("TOKEN")
729
730
  * client.assets.deleteGuildEmoji("guild id", "emoji id", "wasn't nice")
730
731
  */
731
- deleteGuildEmoji(guildId: string, emojiId: string, reason?: string): Promise<RESTDeleteAPIGuildEmojiResult>;
732
+ deleteGuildEmoji(guildId: string, emojiId: string, reason?: string): Promise<void>;
732
733
  /**
733
734
  * Get a global sticker
734
735
  * @since 0.13.0
@@ -838,7 +839,7 @@ declare class AssetsMethods {
838
839
  * const client = new SnowTransfer("TOKEN")
839
840
  * client.assets.deleteGuildSticker("guild id", "sticker id", "It was too nice")
840
841
  */
841
- deleteGuildSticker(guildId: string, stickerId: string, reason?: string): Promise<RESTDeleteAPIGuildStickerResult>;
842
+ deleteGuildSticker(guildId: string, stickerId: string, reason?: string): Promise<void>;
842
843
  /**
843
844
  * Get all emojis for an app
844
845
  * @since 0.13.0
@@ -912,7 +913,7 @@ declare class AssetsMethods {
912
913
  * client.assets.deleteAppEmoji("app id", "emoji id") // OH GOD THE UNIVERSE IS COLLAPSING
913
914
  * // We're safe. The emoji is gone. For now...
914
915
  */
915
- deleteAppEmoji(appId: string, emojiId: string): Promise<RESTDeleteAPIApplicationEmojiResult>;
916
+ deleteAppEmoji(appId: string, emojiId: string): Promise<void>;
916
917
  }
917
918
 
918
919
  /**
@@ -968,7 +969,7 @@ declare class EntitlementMethods {
968
969
  * const client = new SnowTransfer("TOKEN")
969
970
  * client.entitlement.consumeEntitlement("app id", "entitlement id")
970
971
  */
971
- consumeEntitlement(appId: string, entitlementId: string): Promise<RESTPostAPIEntitlementConsumeResult>;
972
+ consumeEntitlement(appId: string, entitlementId: string): Promise<void>;
972
973
  /**
973
974
  * Creates a test entitlement to a given SKU for a given guild or user. Discord will act as though that user or guild has entitlement to your premium offering
974
975
  * @since 0.13.0
@@ -998,7 +999,7 @@ declare class EntitlementMethods {
998
999
  * const client = new SnowTransfer("TOKEN")
999
1000
  * client.entitlement.deleteTestEntitlement("app id", "entitlement id")
1000
1001
  */
1001
- deleteTestEntitlement(appId: string, entitlementId: string): Promise<RESTDeleteAPIEntitlementResult>;
1002
+ deleteTestEntitlement(appId: string, entitlementId: string): Promise<void>;
1002
1003
  }
1003
1004
 
1004
1005
  /**
@@ -1118,7 +1119,7 @@ declare class GuildMethods {
1118
1119
  * const client = new SnowTransfer("TOKEN")
1119
1120
  * client.guild.updateChannelPositions("guild id", [{ id: "channel id", position: 2, parent_id: "category id" }], "they looked out of order")
1120
1121
  */
1121
- updateChannelPositions(guildId: string, data: RESTPatchAPIGuildChannelPositionsJSONBody, reason?: string): Promise<RESTPatchAPIGuildChannelPositionsResult>;
1122
+ updateChannelPositions(guildId: string, data: RESTPatchAPIGuildChannelPositionsJSONBody, reason?: string): Promise<void>;
1122
1123
  /**
1123
1124
  * Returns all active threads in the guild, including public and private threads. Threads are ordered by their `id`, in descending order
1124
1125
  * @since 0.3.0
@@ -1270,7 +1271,7 @@ declare class GuildMethods {
1270
1271
  * const client = new SnowTransfer("TOKEN")
1271
1272
  * client.guild.addGuildMemberRole("guildId", "memberId", "roleId", "I want to add a role")
1272
1273
  */
1273
- addGuildMemberRole(guildId: string, memberId: string, roleId: string, reason?: string): Promise<RESTPutAPIGuildMemberRoleResult>;
1274
+ addGuildMemberRole(guildId: string, memberId: string, roleId: string, reason?: string): Promise<void>;
1274
1275
  /**
1275
1276
  * Remove a role from a guild member
1276
1277
  * @since 0.1.0
@@ -1289,7 +1290,7 @@ declare class GuildMethods {
1289
1290
  * const client = new SnowTransfer("TOKEN")
1290
1291
  * client.guild.removeGuildMemberRole("guildId", "memberId", "roleId", "I want to remove a role")
1291
1292
  */
1292
- removeGuildMemberRole(guildId: string, memberId: string, roleId: string, reason?: string): Promise<RESTDeleteAPIGuildMemberRoleResult>;
1293
+ removeGuildMemberRole(guildId: string, memberId: string, roleId: string, reason?: string): Promise<void>;
1293
1294
  /**
1294
1295
  * Remove a guild member (aka kick them)
1295
1296
  * @since 0.1.0
@@ -1307,7 +1308,7 @@ declare class GuildMethods {
1307
1308
  * const client = new SnowTransfer("TOKEN")
1308
1309
  * client.guild.removeGuildMember("guild Id", "memberId", "spam")
1309
1310
  */
1310
- removeGuildMember(guildId: string, memberId: string, reason?: string): Promise<RESTDeleteAPIGuildMemberResult>;
1311
+ removeGuildMember(guildId: string, memberId: string, reason?: string): Promise<void>;
1311
1312
  /**
1312
1313
  * Get bans of a guild
1313
1314
  * @since 0.1.0
@@ -1363,7 +1364,7 @@ declare class GuildMethods {
1363
1364
  * }
1364
1365
  * client.guild.createGuildBan("guild Id", "memberId", banData, "Memes were not good enough")
1365
1366
  */
1366
- createGuildBan(guildId: string, memberId: string, data?: RESTPutAPIGuildBanJSONBody, reason?: string): Promise<RESTPutAPIGuildBanResult>;
1367
+ createGuildBan(guildId: string, memberId: string, data?: RESTPutAPIGuildBanJSONBody, reason?: string): Promise<void>;
1367
1368
  /**
1368
1369
  * Remove a ban of a user
1369
1370
  * @since 0.1.0
@@ -1381,7 +1382,7 @@ declare class GuildMethods {
1381
1382
  * const client = new SnowTransfer("TOKEN")
1382
1383
  * client.guild.removeGuildBan("guildId", "memberId", "This guy was cool")
1383
1384
  */
1384
- removeGuildBan(guildId: string, memberId: string, reason?: string): Promise<RESTDeleteAPIGuildBanResult>;
1385
+ removeGuildBan(guildId: string, memberId: string, reason?: string): Promise<void>;
1385
1386
  /**
1386
1387
  * Get a list of roles for a guild
1387
1388
  * @since 0.1.0
@@ -1474,7 +1475,7 @@ declare class GuildMethods {
1474
1475
  * const client = new SnowTransfer("TOKEN")
1475
1476
  * client.guild.deleteGuildRole("guildId", "roleId", "This role is too cool")
1476
1477
  */
1477
- removeGuildRole(guildId: string, roleId: string, reason?: string): Promise<RESTDeleteAPIGuildRoleResult>;
1478
+ removeGuildRole(guildId: string, roleId: string, reason?: string): Promise<void>;
1478
1479
  /**
1479
1480
  * Get the amount of members that would be pruned when a prune with the passed amount of days would be started
1480
1481
  * @since 0.1.0
@@ -1574,7 +1575,7 @@ declare class GuildMethods {
1574
1575
  * const client = new SnowTransfer("TOKEN")
1575
1576
  * await client.guild.deleteGuildIntegration("guildId", "integrationId", "Didn't need anymore")
1576
1577
  */
1577
- removeGuildIntegration(guildId: string, integrationId: string, reason?: string): Promise<RESTDeleteAPIGuildIntegrationResult>;
1578
+ removeGuildIntegration(guildId: string, integrationId: string, reason?: string): Promise<void>;
1578
1579
  /**
1579
1580
  * Get a guild widget settings object
1580
1581
  * @since 0.3.0
@@ -1684,7 +1685,7 @@ declare class GuildMethods {
1684
1685
  * const client = new SnowTransfer("TOKEN")
1685
1686
  * client.guild.updateGuildVoiceState("guildId", { channel_id: "channel id", suppress: false })
1686
1687
  */
1687
- updateCurrentUserVoiceState(guildId: string, data: RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody): Promise<RESTPatchAPIGuildVoiceStateCurrentMemberResult>;
1688
+ updateCurrentUserVoiceState(guildId: string, data: RESTPatchAPIGuildVoiceStateCurrentMemberJSONBody): Promise<void>;
1688
1689
  /**
1689
1690
  * Updates a user's voice state in a stage channel
1690
1691
  * @since 0.3.0
@@ -1702,7 +1703,7 @@ declare class GuildMethods {
1702
1703
  * const client = new SnowTransfer("TOKEN")
1703
1704
  * client.guild.updateGuildVoiceState("guildId", "userId", { channel_id: "channel id", suppress: true })
1704
1705
  */
1705
- updateUserVoiceState(guildId: string, userId: string, data: RESTPatchAPIGuildVoiceStateUserJSONBody): Promise<RESTPatchAPIGuildVoiceStateUserResult>;
1706
+ updateUserVoiceState(guildId: string, userId: string, data: RESTPatchAPIGuildVoiceStateUserJSONBody): Promise<void>;
1706
1707
  }
1707
1708
 
1708
1709
  /**
@@ -1822,7 +1823,7 @@ declare class GuildScheduledEventMethods {
1822
1823
  * const client = new SnowTransfer("TOKEN")
1823
1824
  * client.guildScheduledEvent.deleteGuildScheduledEvent(guildId, eventId)
1824
1825
  */
1825
- deleteGuildScheduledEvent(guildId: string, eventId: string): Promise<RESTDeleteAPIGuildScheduledEventResult>;
1826
+ deleteGuildScheduledEvent(guildId: string, eventId: string): Promise<void>;
1826
1827
  /**
1827
1828
  * Get a list of users attending a specific event
1828
1829
  * @since 0.3.6
@@ -2094,7 +2095,7 @@ declare class WebhookMethods {
2094
2095
  * const client = new SnowTransfer("TOKEN");
2095
2096
  * client.webhook.deleteWebhook("webhook Id")
2096
2097
  */
2097
- deleteWebhook(webhookId: string, reason?: string): Promise<RESTDeleteAPIWebhookResult>;
2098
+ deleteWebhook(webhookId: string, reason?: string): Promise<void>;
2098
2099
  /**
2099
2100
  * Delete a Webhook with a token
2100
2101
  * @since 0.17.0
@@ -2107,7 +2108,7 @@ declare class WebhookMethods {
2107
2108
  * const client = new SnowTransfer(); // No token needed if webhook token is provided
2108
2109
  * client.webhook.deleteWebhookToken("webhook Id", "webhook token")
2109
2110
  */
2110
- deleteWebhookToken(webhookId: string, token: string, reason?: string): Promise<RESTDeleteAPIWebhookResult>;
2111
+ deleteWebhookToken(webhookId: string, token: string, reason?: string): Promise<void>;
2111
2112
  /**
2112
2113
  * Send a message via Webhook
2113
2114
  * @since 0.1.0
@@ -2213,7 +2214,7 @@ declare class WebhookMethods {
2213
2214
  * @param threadId Id of the thread the message was sent in
2214
2215
  * @returns Resolves the Promise on successful execution
2215
2216
  */
2216
- deleteWebhookMessage(webhookId: string, token: string, messageId: string, threadId?: string): Promise<RESTDeleteAPIWebhookWithTokenMessageResult>;
2217
+ deleteWebhookMessage(webhookId: string, token: string, messageId: string, threadId?: string): Promise<void>;
2217
2218
  }
2218
2219
 
2219
2220
  /**
@@ -2295,7 +2296,7 @@ declare class InteractionMethods {
2295
2296
  * const client = new SnowTransfer("TOKEN")
2296
2297
  * client.interaction.deleteApplicationCommand("appId", "cmdId")
2297
2298
  */
2298
- deleteApplicationCommand(appId: string, cmdId: string): Promise<never>;
2299
+ deleteApplicationCommand(appId: string, cmdId: string): Promise<void>;
2299
2300
  /**
2300
2301
  * Takes a list of application commands, overwriting existing commands that are registered globally for this application.
2301
2302
  * Updates will be available in all guilds after 1 hour
@@ -2374,7 +2375,7 @@ declare class InteractionMethods {
2374
2375
  * const client = new SnowTransfer("TOKEN")
2375
2376
  * client.interaction.deleteGuildApplicationCommand("appId", "guildId", "cmdId")
2376
2377
  */
2377
- deleteGuildApplicationCommand(appId: string, guildId: string, cmdId: string): Promise<never>;
2378
+ deleteGuildApplicationCommand(appId: string, guildId: string, cmdId: string): Promise<void>;
2378
2379
  /**
2379
2380
  * Takes a list of application commands, overwriting existing commands for the guild
2380
2381
  * @since 0.5.0
@@ -2486,7 +2487,7 @@ declare class InteractionMethods {
2486
2487
  * const client = new SnowTransfer() // This endpoint does not require a Bot token. The interaction token alone will suffice
2487
2488
  * client.interaction.deleteOriginalInteractionResponse("appId", "token")
2488
2489
  */
2489
- deleteOriginalInteractionResponse(appId: string, token: string): Promise<RESTDeleteAPIInteractionOriginalResponseResult>;
2490
+ deleteOriginalInteractionResponse(appId: string, token: string): Promise<void>;
2490
2491
  /**
2491
2492
  * Create a followup message for an Interaction
2492
2493
  * @since 0.3.0
@@ -2549,7 +2550,7 @@ declare class InteractionMethods {
2549
2550
  * const client = new SnowTransfer() // This endpoint does not require a Bot token. The interaction token alone will suffice
2550
2551
  * client.interaction.deleteFollowupMessage("appId", "token", "messageId")
2551
2552
  */
2552
- deleteFollowupMessage(appId: string, token: string, messageId: string): Promise<RESTDeleteAPIInteractionFollowupResult>;
2553
+ deleteFollowupMessage(appId: string, token: string, messageId: string): Promise<void>;
2553
2554
  }
2554
2555
 
2555
2556
  /**
@@ -2619,7 +2620,7 @@ declare class InviteMethods {
2619
2620
  * const client = new SnowTransfer("TOKEN")
2620
2621
  * await client.invite.updateInviteTargetUsers("inviteId", someUserArray)
2621
2622
  */
2622
- updateInviteTargetUsers(inviteId: string, userIds: Array<string>): Promise<RESTPutAPIInviteTargetUsers>;
2623
+ updateInviteTargetUsers(inviteId: string, userIds: Array<string>): Promise<void>;
2623
2624
  /**
2624
2625
  * Gets the job status on setting target users to an invite
2625
2626
  * @param inviteId Id of the invite
@@ -2771,7 +2772,7 @@ declare class StageInstanceMethods {
2771
2772
  * const client = new SnowTransfer("TOKEN")
2772
2773
  * client.stageInstance.deleteStageInstance("channel id", "They already know who's house this is")
2773
2774
  */
2774
- deleteStageInstance(channelId: string, reason?: string): Promise<RESTDeleteAPIStageInstanceResult>;
2775
+ deleteStageInstance(channelId: string, reason?: string): Promise<void>;
2775
2776
  }
2776
2777
 
2777
2778
  /**
@@ -2853,7 +2854,7 @@ declare class UserMethods {
2853
2854
  * const client = new SnowTransfer("TOKEN")
2854
2855
  * client.user.leaveGuild("guildId")
2855
2856
  */
2856
- leaveGuild(guildId: string): Promise<RESTDeleteAPICurrentUserGuildResult>;
2857
+ leaveGuild(guildId: string): Promise<void>;
2857
2858
  /**
2858
2859
  * Create a direct message channel with another user
2859
2860
  *
@@ -3289,7 +3290,7 @@ declare class ChannelMethods {
3289
3290
  * const client = new SnowTransfer("TOKEN")
3290
3291
  * client.channel.createReaction("channel Id", "message Id", encodeURIComponent("😀"))
3291
3292
  */
3292
- createReaction(channelId: string, messageId: string, emoji: string): Promise<RESTPutAPIChannelMessageReactionResult>;
3293
+ createReaction(channelId: string, messageId: string, emoji: string): Promise<void>;
3293
3294
  /**
3294
3295
  * Delete a reaction added by the current user from a message
3295
3296
  * @since 0.1.0
@@ -3313,7 +3314,7 @@ declare class ChannelMethods {
3313
3314
  * const client = new SnowTransfer("TOKEN")
3314
3315
  * client.channel.deleteReactionSelf("channel Id", "message Id", encodeURIComponent("😀"))
3315
3316
  */
3316
- deleteReactionSelf(channelId: string, messageId: string, emoji: string): Promise<RESTDeleteAPIChannelMessageUserReactionResult>;
3317
+ deleteReactionSelf(channelId: string, messageId: string, emoji: string): Promise<void>;
3317
3318
  /**
3318
3319
  * Delete a reaction from a message in a guild channel
3319
3320
  * @since 0.1.0
@@ -3340,8 +3341,7 @@ declare class ChannelMethods {
3340
3341
  * // If a user Id is not supplied, the emoji from that message will be removed for all users
3341
3342
  * client.channel.deleteReaction("channel Id", "message Id", encodeURIComponent("😀"))
3342
3343
  */
3343
- deleteReaction(channelId: string, messageId: string, emoji: string): Promise<RESTDeleteAPIChannelMessageReactionResult>;
3344
- deleteReaction(channelId: string, messageId: string, emoji: string, userId: string): Promise<RESTDeleteAPIChannelMessageUserReactionResult>;
3344
+ deleteReaction(channelId: string, messageId: string, emoji: string, userId?: string): Promise<void>;
3345
3345
  /**
3346
3346
  * Get a list of users that reacted with a certain emoji on a certain message
3347
3347
  * @since 0.1.0
@@ -3379,7 +3379,7 @@ declare class ChannelMethods {
3379
3379
  * const client = new SnowTransfer("TOKEN")
3380
3380
  * client.channel.deleteAllReactions("channel Id", "message Id")
3381
3381
  */
3382
- deleteAllReactions(channelId: string, messageId: string): Promise<RESTDeleteAPIChannelAllMessageReactionsResult>;
3382
+ deleteAllReactions(channelId: string, messageId: string): Promise<void>;
3383
3383
  /**
3384
3384
  * Edit a message sent by the current user or edit the message flags of another user's message
3385
3385
  * @since 0.1.0
@@ -3425,7 +3425,7 @@ declare class ChannelMethods {
3425
3425
  * const client = new SnowTransfer("TOKEN")
3426
3426
  * client.channel.deleteMessage("channel id", "message id")
3427
3427
  */
3428
- deleteMessage(channelId: string, messageId: string, reason?: string): Promise<RESTDeleteAPIChannelMessageResult>;
3428
+ deleteMessage(channelId: string, messageId: string, reason?: string): Promise<void>;
3429
3429
  /**
3430
3430
  * Bulk delete messages from a guild channel, messages may not be older than 2 weeks
3431
3431
  * @since 0.1.0
@@ -3444,7 +3444,7 @@ declare class ChannelMethods {
3444
3444
  * const client = new SnowTransfer("TOKEN")
3445
3445
  * client.channel.bulkDeleteMessages("channel id", ["message id 1", "message id 2"], "spam")
3446
3446
  */
3447
- bulkDeleteMessages(channelId: string, messages: Array<string>, reason?: string): Promise<RESTPostAPIChannelMessagesBulkDeleteResult>;
3447
+ bulkDeleteMessages(channelId: string, messages: Array<string>, reason?: string): Promise<void>;
3448
3448
  /**
3449
3449
  * Modify the permission overwrites of a guild channel
3450
3450
  * @since 0.1.0
@@ -3466,7 +3466,7 @@ declare class ChannelMethods {
3466
3466
  * const client = new SnowTransfer("TOKEN")
3467
3467
  * client.channel.editChannelPermission("channel id", "user id", { allow: String(1 << 10), type: 1 })
3468
3468
  */
3469
- editChannelPermission(channelId: string, permissionId: string, data: RESTPutAPIChannelPermissionJSONBody, reason?: string): Promise<RESTPutAPIChannelPermissionResult>;
3469
+ editChannelPermission(channelId: string, permissionId: string, data: RESTPutAPIChannelPermissionJSONBody, reason?: string): Promise<void>;
3470
3470
  /**
3471
3471
  * Get a list of invites for a guild channel
3472
3472
  * @since 0.1.0
@@ -3528,7 +3528,7 @@ declare class ChannelMethods {
3528
3528
  * const client = new SnowTransfer("TOKEN")
3529
3529
  * client.channel.deleteChannelPermission("channel id", "user id", "Abusing channel")
3530
3530
  */
3531
- deleteChannelPermission(channelId: string, permissionId: string, reason?: string): Promise<RESTDeleteAPIChannelPermissionResult>;
3531
+ deleteChannelPermission(channelId: string, permissionId: string, reason?: string): Promise<void>;
3532
3532
  /**
3533
3533
  * Follow an announcement channel to another channel
3534
3534
  * @since 0.7.0
@@ -3565,7 +3565,7 @@ declare class ChannelMethods {
3565
3565
  * const client = new SnowTransfer("TOKEN")
3566
3566
  * client.channel.sendChannelTyping("channel id")
3567
3567
  */
3568
- startChannelTyping(channelId: string): Promise<RESTPostAPIChannelTypingResult>;
3568
+ startChannelTyping(channelId: string): Promise<void>;
3569
3569
  /**
3570
3570
  * Get a list of pinned messages for a channel
3571
3571
  * @since 0.1.0
@@ -3601,7 +3601,7 @@ declare class ChannelMethods {
3601
3601
  * const client = new SnowTransfer("TOKEN")
3602
3602
  * client.channel.addChannelPinnedMessage("channel id", "message id", "Good meme")
3603
3603
  */
3604
- addChannelPinnedMessage(channelId: string, messageId: string, reason?: string): Promise<RESTPutAPIChannelMessagesPinResult>;
3604
+ addChannelPinnedMessage(channelId: string, messageId: string, reason?: string): Promise<void>;
3605
3605
  /**
3606
3606
  * Remove a pinned message from a channel
3607
3607
  * @since 0.1.0
@@ -3621,7 +3621,7 @@ declare class ChannelMethods {
3621
3621
  * const client = new SnowTransfer("TOKEN")
3622
3622
  * client.channel.removeChannelPinnedMessage("channel id", "message id", "Mod abuse")
3623
3623
  */
3624
- removeChannelPinnedMessage(channelId: string, messageId: string, reason?: string): Promise<RESTDeleteAPIChannelMessagesPinResult>;
3624
+ removeChannelPinnedMessage(channelId: string, messageId: string, reason?: string): Promise<void>;
3625
3625
  /**
3626
3626
  * Creates a public thread off a message in a guild channel
3627
3627
  * @since 0.3.0
@@ -3684,7 +3684,7 @@ declare class ChannelMethods {
3684
3684
  * const client = new SnowTransfer("TOKEN")
3685
3685
  * client.channel.joinThread("thread id")
3686
3686
  */
3687
- joinThread(threadId: string): Promise<RESTPutAPIChannelThreadMembersResult>;
3687
+ joinThread(threadId: string): Promise<void>;
3688
3688
  /**
3689
3689
  * Add a user to a thread
3690
3690
  *
@@ -3703,7 +3703,7 @@ declare class ChannelMethods {
3703
3703
  * const client = new SnowTransfer("TOKEN")
3704
3704
  * client.channel.addThreadMember("thread id", "user id")
3705
3705
  */
3706
- addThreadMember(threadId: string, userId: string): Promise<RESTPutAPIChannelThreadMembersResult>;
3706
+ addThreadMember(threadId: string, userId: string): Promise<void>;
3707
3707
  /**
3708
3708
  * Leave a thread
3709
3709
  * @since 0.3.0
@@ -3714,7 +3714,7 @@ declare class ChannelMethods {
3714
3714
  * const client = new SnowTransfer("TOKEN")
3715
3715
  * client.channel.leaveThread("thread id")
3716
3716
  */
3717
- leaveThread(threadId: string): Promise<RESTDeleteAPIChannelThreadMembersResult>;
3717
+ leaveThread(threadId: string): Promise<void>;
3718
3718
  /**
3719
3719
  * Remove a user from a thread
3720
3720
  * @since 0.3.0
@@ -3730,7 +3730,7 @@ declare class ChannelMethods {
3730
3730
  * const client = new SnowTransfer("TOKEN")
3731
3731
  * client.channel.removeThreadMember("thread id", "user id")
3732
3732
  */
3733
- removeThreadMember(threadId: string, userId: string): Promise<RESTDeleteAPIChannelThreadMembersResult>;
3733
+ removeThreadMember(threadId: string, userId: string): Promise<void>;
3734
3734
  /**
3735
3735
  * Gets a member of a thread
3736
3736
  * @since 0.3.0
@@ -3883,7 +3883,7 @@ declare class ChannelMethods {
3883
3883
  * // clears the status
3884
3884
  * client.channel.setVoiceChannelStatus("channel id", "")
3885
3885
  */
3886
- setVoiceChannelStatus(channelId: string, status: string): Promise<RESTPutAPIChannelVoiceStatus>;
3886
+ setVoiceChannelStatus(channelId: string, status: string): Promise<void>;
3887
3887
  }
3888
3888
 
3889
3889
  /**