| Name | Modified | Size | Downloads / Week |
|---|---|---|---|
| Parent folder | |||
| 0.18.0 source code.tar.gz | 2024-09-22 | 189.2 kB | |
| 0.18.0 source code.zip | 2024-09-22 | 244.8 kB | |
| README.md | 2024-09-22 | 6.1 kB | |
| Totals: 3 Items | 440.0 kB | 1 | |
Breaking Changes
- Remove all user account features (0b3ef10)
- Removed system message content handling (clashes with stage system messages) (1f61e8e, 55a8a69)
- Restructure Channel classes (737e9f7, 4dbb828)
TextVoiceChannelremovedChannel.clienthidden (renamedChannel._client)DMChannel.recipientremoved, replaced withDMChannel.recipientscollection (should ever only contain one entry)- Channel class tree reworked
GuildAuditLogEntrychannel,guild,message,user, andInvite.guildcan now return uncached with object containingidonly (7bfc88b)MessageActivityFlagsconstant renamed toActivityFlags(e4edf0b)StoreChannelremoved (3429b8f)- Application Command Permissions v2 (3139ca9)
bulkEditCommandPermissions()removed, endpoint no longer existsgetActiveThreads()removed, endpoint no longer exists (v10) (a331615)User.globalNameexposed, username migration, default avatar recalculated (d0269ad)
Deprecations
- Restructure Channel classes (737e9f7)
PrivateChannelis nowDMChannelClient.privateChannelMapis nowClient.dmChannelMapClient.privateChannelsis nowClient.dmChannels- Various permission names replaced, e.g.
voicePrioritySpeakeris nowprioritySpeaker(e7a9022) banGuildMember()deleteMessageDaysis replaced bydeleteMessageSeconds(bd88d30)
Additions
- Expose Polls (31c4608)
- Expose Voice channel status (a1a449f)
- Expose Super reactions (793e858)
- Expose
getThreadMembers()pagination options (0d81657) - Expose Application Role Connections (37f5e52)
- Expose
Message.roleSubscriptionData(37f5e52) - Support resuming voice connection (552dbb0)
- Supprt message forwarding (c3e3a31)
- Support bulk banning (577afc8)
- Restructure Channel classes (737e9f7)
- Support Text in Stage
- New
GuildTextableChannelclass, acts as a "middleman" class with common props/methods for textable guild channels - Support adding users to Group Channels (requires OAuth
gdm.joinscope) - Expose
getThreadMember() - Add Discord locales (f09ba3e)
- Expose Forum and Media Channels (6084d6a, 0f71727)
- Support returning member/presence counts in
getRESTGuild()(8a2b212) - Add
AttachmentFlagsconstant (8a2b212) - Expose Role flags (e54cc76)
- Expose
guildAuditLogEntryCreateevent (ca2c47c) - Expose User avatar decoration (50988d8)
- Expose Guild Onboarding (9f24d0d)
- Expose
editGuildMFALevel()(3b0dd35) - Expose Auto Moderation (dcfee4c, e0c352d)
- Support
getInvite()new parameters (e4edf0b) - Update constants (e7a9022, e4edf0b, cc32510)
- Expose modals (6be96b3)
- Expose
getGuildWidgetImageURL()(52da08c) - Support
banGuildMember()deleting messages in seconds (bd88d30) - Expose
messageContentintent (v10) (a331615) - New deprecation emit handling (ae5f0f0)
Fixes
- Fix member/user update on voice state update (bcf7dee, 0c22f54)
- Fix removal of Voice State when leaving stage channel (f97e0f7)
- Fix library file direct imports (a3d4d7a, 692521c)
- Properly parse request errors in
DiscordRESTError(805cb6e) - Fix
User#defaultAvatarcalculation (e0ff926) - Fix
ThreadMembernull check (7f07a7c) - Fix
DMChannelmessage handling error (171bf7e) - Fix
OggOpusTransformernot emittingendwhen file stream finishes (ea0f133) - Fix BigInt 0 assignment if
denynot in permission data (7f9ef8c) - Restructure Channel classes (737e9f7, d026803, f48547b)
- Fix
ThreadMember.guildMemberpopulation - Fix
deleteChannel()return type (will now return deleted channel) - Fix
nsfwchannel handling (cfdcf49) - Make
createGuild()optionsparameter optional (43bf5e9) - Return
undefinedon 204 responses in runtime (c3e1b73) - Fix Chat Input command name regex validation (bb4b058)
- Fix
editGuildWidget()calling wrong endpoint (6ca661c) - Update audit log reason handling (v10) (a331615)
- Improve handling of sending attachments (65ab87b, 7524a40)
Docs/Typings
- Add ModalSubmitInteraction to Anyinteraction union (4dbb828)
- Remove unnecessary typings related to channel restructure (4dbb828)
- Clarify Interaction's
createdAt(cef72ac) - Fix
flagsproperty editing usingAdvancedMessageContentEdit(TS) (b7f9343) - Better localization property typings (TS) (f09ba3e)
- Add missing
Attachmentproperties (TS) (8a2b212) - Add missing Role tags properties (e54cc76)
- Fix
ApplicationCommandCreateOptionsdocumentation description andtypeproperty (TS) (f259808) - Add
customstatus toeditStatus()(9b18e0e) FetchMembersOptionsrenamed toRequestGuildMembersOptions(e4edf0b)- Add linting for docs (e4edf0b, 7cf456b)
- Sort documentation into alphabetical order (both) (7751f96)
- Fix
Member.communicationDisabledUntiltype (TS) (81ca52c) createChannel()typings streamlined (TS) (0790534)- Fix
Interaction#createMessage()flag type (129501e) - Fix
Message#edit()parameter type (TS) (6a165cd) - Add
RawRESTRequest.latencytype (TS) (6a165cd) - Fix
Member.statustype (TS) (13c93e0) - Add banner to
EditSelfOptions(TS) (880483d)
Updated Channel Class Tree
- Channel
- DMChannel
- GroupChannel
- GuildChannel
- CategoryChannel
- MediaChannel
- ForumChannel
- GuildTextableChannel
- TextChannel
- NewsChannel
- VoiceChannel
- StageChannel
- ThreadChannel
- PrivateThreadChannel
- PublicThreadChannel
- NewsThreadChannel
Only properties/methods relevant to each channel class will be present, all others have been removed without deprecation.
Contributors
- @areodot
- @babiabeo
- @coolcalcacol
- @dager-mohamed
- @dmkng
- @DonovanDMC
- @eritbh
- @Eucladia
- @fir4tozden
- @flav-code
- @GweeKwee
- @HeadTriXz
- @iiFDCT
- @james58899
- @MertBhey
- @rubyowo
- @Snazzah
- @TTtie
- @wilddip
- @YalphaFR
- @YetAnotherConnor