A fork of Eris, a Discord Node.js library, focused on keeping up with the latest Discord API changes.
MIT License
Bot releases are visible (Hide)
messageReactionAdd
events may now include data about the author of the message (#87)/applications/@me
endpoint (#90)withCounts
in Client#getRESTGuilds()
(#88)defaultForumLayout
in Client#createChannel()
(#84)update()
method is now called only once in classes inheriting from Channel
and User
(#91)AnyInteractionGateway
type now includes ModalSubmitInteraction
(#97)Constants.REST_VERSION
and Constants.GATEWAY_VERSION
have been corrected in the typings (#98)Full Changelog: https://github.com/projectdysnomia/dysnomia/compare/v0.1.2...v0.1.3
Published by TTtie over 1 year ago
Note
BothmanageEmojisAndStickers
andmanageGuildExpressions
permissions are supported in v0.1.x releases.manageEmojisAndStickers
is going to be deprecated starting with v0.2.0.
Guild#maxStageVideoChannelUsers
(#61)channel
field to identify the channel the interaction originated in (#63)Full Changelog: https://github.com/projectdysnomia/dysnomia/compare/v0.1.1...v0.1.2
Published by TTtie over 1 year ago
Client#addGuildMember
(backported from https://github.com/abalabahaha/eris/commit/61b3b4f9007b9909e309355d64f67f989941f5c2)guildUpdate
event (backported from https://github.com/abalabahaha/eris/commit/9320ab2d15ade54b6f676e3f3f39531ceba9f06a)PrivateThreadChannel
s are now correctly propagated (#54)Interaction
class is going to be emitted if the type is unknown (#43)Full Changelog: https://github.com/projectdysnomia/dysnomia/compare/v0.1.0...v0.1.1
Published by TTtie over 1 year ago
editGuildVanity
removal (https://github.com/projectdysnomia/dysnomia/pull/18)Warning
Compared to other Eris forks, camel-cased trigger metadata properties are deprecated. Use snake_case instead.
ACTIVE_DEVELOPER
user flag (https://github.com/projectdysnomia/dysnomia/pull/10, https://github.com/projectdysnomia/dysnomia/pull/23)Attachment#proxyURL
(https://github.com/projectdysnomia/dysnomia/pull/11)Guild#events
is now populated on guildCreate
(https://github.com/projectdysnomia/dysnomia/pull/12)GIF
sticker format support (https://github.com/projectdysnomia/dysnomia/pull/24)threadID
in editWebhookMessage
(https://github.com/projectdysnomia/dysnomia/pull/28)Guild#fetchAllMembers
is deprecated in favor of Guild#fetchMembers
file
parameter/option in functions that take message attachments is deprecated in favor of the attachments
optioncreateThreadWithoutMessage()
is deprecated in favor of createThread()
Client
by calling the default package export is deprecatedgetInvite()
options have been merged into an object – passing options as parameters is deprecatedCommandClient
is deprecated – use slash commands insteadCommandClient
; use a slash command framework insteadautoModerationActionExecution(Guild, Object)
autoModerationRuleCreate(Guild, AutoModerationRule)
autoModerationRuleDelete(Guild, AutoModerationRule)
autoModerationRuleUpdate(Guild, AutoModerationRule | null, AutoModerationRule)
guildIntegrationsUpdate(Guild)
applicationCommandPermissionsUpdate(Object)
guildAuditLogEntryCreate(Guild, GuildAuditLogEntry)
integrationCreate(Guild, GuildIntegration)
integrationUpdate(Guild, GuildIntegration)
integrationDelete(Guild, Object)
messageUpdate
eventnsfw
property was removed from old guild data in guildUpdate
eventguildBanAdd
/guildBanRemove
events now emit a partial guild object when the guild is uncachedRequestHandler
supports calling the API via HTTPRequestHandler
supports using multipart field names different from the file nameRequestHandler#request
returns undefined on empty response bodyCommandInteraction
supports attachmentsGuild#events
is auto-populated with data from guildCreate
Guild
have been removedGuild#fetchAllMembers
has been deprecated in favor of Guild#fetchMembers
GuildAuditLogEntry
GuildAuditLogEntry#user
can be uncachedClientOptions.gateway
ClientOptions.rest
Client#banGuildMember
deleteMessageDays
has been replaced by deleteMessageSeconds
file
parameter (or options.file
property) in methods that create a message has been deprecated in favor of options.attachments
Client#createStageInstance
supports sending stage start notificationsClient#createThreadWithoutMessage
has been deprecated in favor of Client#createThread
Client#editGuildMFALevel
to change the MFA level in bot-owned guildsClient#editWebhookMessage
supports passing a threadID
to edit webhook-created messages within threadsClient#executeWebhook
supports passing a threadName
to create threads within forum channelsClient#getGuildAuditLog
now returns additional objects returned by the APIClient#getInvite
supports passing a guild scheduled event ID to include with the invite (if public)Client#getInvite
parameters have been merged into a single options
objectClient#getThreadMember
)