14.0.0
版本发布时间: 2022-09-09 09:25:13
discordeno/discordeno最新发布版本:18.0.0(2023-01-13 07:50:21)
What's Changed
- fix: ignore GUILD_DELETE events for unavailable guilds in big bot template by @AwesomeStickz in https://github.com/discordeno/discordeno/pull/2412
- Fix Internal proxy Issue by @meister03 in https://github.com/discordeno/discordeno/pull/2413
- update: Update kwik to 1.3.1 by @TriForMine in https://github.com/discordeno/discordeno/pull/2424
- update forum channel type by @lts20050703 in https://github.com/discordeno/discordeno/pull/2423
- fix: remove GUILD_LOADED_DD as it's no longer an event by @AwesomeStickz in https://github.com/discordeno/discordeno/pull/2411
- add limit for attachment description by @lts20050703 in https://github.com/discordeno/discordeno/pull/2418
- Add scopes field to integration structure by @lts20050703 in https://github.com/discordeno/discordeno/pull/2420
- add application_commands to audit log structure by @lts20050703 in https://github.com/discordeno/discordeno/pull/2421
- Updated example code to match final version by @raluvy95 in https://github.com/discordeno/discordeno/pull/2426
- github workflows tests: --jobs -> --parallel by @lts20050703 in https://github.com/discordeno/discordeno/pull/2428
- add deleteMessageSeconds to helers.banMember by @lts20050703 in https://github.com/discordeno/discordeno/pull/2422
- add applicationCommandBadge to application flags by @lts20050703 in https://github.com/discordeno/discordeno/pull/2419
- update channel types names by @lts20050703 in https://github.com/discordeno/discordeno/pull/2417
- Adds mention limits in automod by @lts20050703 in https://github.com/discordeno/discordeno/pull/2414
- Fix Internal Proxy Error by @meister03 in https://github.com/discordeno/discordeno/pull/2430
- Fix nodejs guide by @meister03 in https://github.com/discordeno/discordeno/pull/2433
- Update CONTRIBUTING.md by @Skillz4Killz in https://github.com/discordeno/discordeno/pull/2435
- add modifyGuildMfaLevel by @lts20050703 in https://github.com/discordeno/discordeno/pull/2416
- Fixes getReations by removing the double URI encode by @Burn-E99 in https://github.com/discordeno/discordeno/pull/2438
- add resume_gateway_url to DiscordReady by @lts20050703 in https://github.com/discordeno/discordeno/pull/2415
- refactor(helpers): Organise functions. by @vxern in https://github.com/discordeno/discordeno/pull/2425
- refactor!(helpers): Rename helpers to match Discord API. Create a 1:1 helper-to-endpoint correspondence. by @vxern in https://github.com/discordeno/discordeno/pull/2427
Directories and files moved:
- Stage instance helpers (
/channels
) ->/channels/stages
-
/channels/followChannel.ts
->/channels/announcements/followChannel.ts
-
/channels/updateVoiceState.ts
->/guilds/updateVoiceState.ts
-
/channels/getPins.ts
->/messages/getPins.ts
- Voice helpers (
/guilds
) ->/guilds/voice
-
/guilds/scheduledEvents
->/guilds/events
- Widget helpers (
/guilds
) ->/guilds/widget
-
/integrations
->/guilds/integrations
- Interaction response helpers (
/interactions
+/interactions/commands
) ->/interactions/responses
-
/invites/getChannelInvites.ts
->/channels/getChannelInvites.ts
-
/invites
->/guilds/invites
- Reaction helpers (
/messages
) ->/messages/reactions
-
/oauth/getApplicationInfo.ts
->/misc/getApplicationInfo.ts
- Voice helpers (
/voice
) ->/guilds/voice
Keyword changes
In all functions: modify
-> edit
In all functions: update
-> edit
Function + filename renamings
-
followChannel
->followAnnouncementChannel
-
createForumPost
->createForumThread
-
updateStageInstance
->editStageInstance
-
addToThread
->addThreadMember
-
deleteChannelOverwrite
->deleteChannelPermissionOverride
-
editChannelOverwrite
->editChannelPermissionOverrides
-
startTyping
->triggerTypingIndicator
⭐ -
swapChannels
->editChannelPositions
⭐ -
getPins
->getPinnedMessages
-
publishMessage
->crosspostMessage
⭐ -
modifyRolePositions
->editRolePositions
-
deleteAllReactions
->deleteReactionsAll
-
deleteReactionEmoji
->deleteReactionsEmoji
-
updateBotVoiceState
->editOwnVoiceState
⭐ -
updateUserVoiceState
->editUserVoiceState
⭐ -
editWidget
->editWidgetSettings
-
getAuditLogs
->getAuditLog
-
upsertGlobalApplicationCommand
->editGlobalApplicationCommand
-
upsertGuildApplicationCommand
->editGuildApplicationCommand
-
sendWebhookMessage
->executeWebhook
⭐
⭐ marks functions for which the old function name is available as an alias.
Decouplings
-
getArchivedThreads
->-
getPublicArchivedThreads
-
getPrivateArchivedThreads
-
getPrivateJoinedArchivedThreads
-
- Decouple the following for variants concerning 'guild' and 'global' scopes:
-
createApplicationCommand
->createGuildApplicationCommand
,createGlobalApplicationCommand
-
deleteApplicationCommand
^ and so on. -
getApplicationCommand
-
getApplicationCommands
-
upsertApplicationCommand
-
upsertApplicationCommands
-
- Decouple the following for a variant concerning the original response and rename the original file from
*InteractionResponse
to*FollowupMessage
:-
deleteInteractionResponse
->deleteOriginalInteractionResponse
,deleteFollowupMessage
-
editInteractionResponse
^ and so on. -
getInteractionResponse
-
sendInteractionResponse
-
-
editWebhookMessage
->editOriginalWebhookMessage
,editWebhookMessage
-
deleteReaction
->deleteOwnReaction
,deleteUserReaction
Deletions
-
/interactions/followups
(superceded by functions in/interactions/responses
) -
editBotNickname
(deprecated in the API, practically identical toeditBotProfile
)
Parameter renamings
-
memberId
was replaced withuserId
. - Short, ambiguous parameter names such as
id
were updated to be more descriptive. - Functions where the object parameter corresponding to the query/request parameters had a different name (e.g.
data
) were renamed tooptions
.
New Contributors
- @raluvy95 made their first contribution in https://github.com/discordeno/discordeno/pull/2426
- @Burn-E99 made their first contribution in https://github.com/discordeno/discordeno/pull/2438
Full Changelog: https://github.com/discordeno/discordeno/compare/13.0.0...14.0.0