Repository navigation
Releases: Jeotique/devland.js
Releases · Jeotique/devland.js
Release list
1.4.5
What's Changed
Fix :
interaction.getFocusedValuealways returningnullwhen interaction is a sub commandinteraction.getFocusedNamealways returningnullwhen interaction is a sub commandinteraction.getFocusedTypealways returningnullwhen interaction is a sub commandinteraction.getCommandValuecannot be used for a autocomplete request (now you can)
New :
member.onlineSincereturning the timestamp of connection lifetime of the member (since when the user is connected)
Full Changelog: 1.4.4...1.4.5
1.4.4
What's Changed
Fixed :
<User>.fetchBanner()now returning the banner value<User>.fetchAvatar()now returning the avatar value<Client>.fetchChannel()now returning complete Category instance (if category channel)<guild>.fetchChannels()now returning complete Category instance (if category channel)<guild>.fetchChannel()now returning complete Category instance (if category channel)
Change(s) :
<User>.bannerpropertie is now accessible
New :
<Interaction>.getFocusedNamemethod added to return the current input name for an autocomplete option<Interaction>.getFocusedTypemethod added to return the current input type for an autocomplete option<Interaction>.getFocusedValuemethod added to return the current input value for an autocomplete option
Full Changelog: 1.4.3...1.4.4
1.4.3
What's Changed
<interaction>.awaitModalResponse()
The propertie awaitModalResponse added to Interaction
Allows you to listen for the first modal response of the interaction
User properties
fetchAvataraddedgetBannerUrladded (non promise)getAvatarUrladded (non promise)
--> options offetchAvatar/fetchBanner/getBannerUrl/getAvatarUrlcan take two optionals parameters (size = number, type = 'auto'/'gif'/'png')premiumTypeadded (enums : Discord.userPremiumType)
client.getWebhook("url")
The propertie getWebhook added to Client
Allows you to fetch a webhook with the url and send message or edit/delete the webhook
Full Changelog: 1.4.2...1.4.3
1.4.2
What's Changed
enableAllCachesclient propertie to enable all caches in one time<message>.memberwill now be set tonullif the message is from a webhook<message>.deletedfixed- better management of
<DmChannel>.user <guild>.fetchVanityfixed<member>.premium_since_timestamppropertie added<message>.webhookIdwill now be set tonullinstead ofundefined<message>.authorwill now be set tonullinstead ofundefined<message>.interactionwill now be set tonullinstead ofundefined- using a
Roleinto a message will now mention it - type
<guild>.fetchInvitefixed to<guild>.fetchInvites <message>.noncepropertie added
Full Changelog: 1.4.1...1.4.2
1.4.1
What's Changed
- Properties
enableAllCachesadded to the client options - log types
CREATOR_MONETIZATION_REQUEST_CREATED&CREATOR_MONETIZATION_TERMS_ACCEPTED - useragent updated
- api v9 -> v10
Full Changelog: 1.4.0...1.4.1
1.4.0
What's Changed
- MessageType enums added and can be imported
- guild welcome screen support added
- .getWelcomeScreen() method added
- .setWelcomeScreen() method added
- voice message support
- .isVoiceMessage propertie added (boolean)
- message flags "IS_VOICE_MESSAGE" added
- .contentScanVersion propertie added (number)
- .isVoiceMessage added (boolean)
- .durationSeconds propertie added (float)
- .waveform propertie added (string)
- .id is now null if undefined
- 4 permissions flags added : CREATE_GUILD_EXPRESSIONS | CREATE_EVENTS | USE_EXTERNAL_SOUNDS | SEND_VOICE_MESSAGES
- .createListener -> .createModalListener
- .send method fixed
- collector time can now be set to Infinity
- .member_count fixed
- interaction getSelectedUsers | getSelectedRoles | getSelectedMentionables is now not returning a Array in a Array but a simple Array
- user displayName will now not be undefined everytime (it will be if the user doesn't have a display name)
Full Changelog: 1.3.6...1.4.0
1.3.6
1.3.4
What's Changed
- Create LICENSE by @Jeotique in #1
- Shard system by @Jeotique in #2
- Stable by @Jeotique in #3
- Create LICENSE by @Jeotique in #4
- Stable by @Jeotique in #5
- Last stable version by @Jeotique in #6
- Stable by @Jeotique in #7
Full Changelog: https://github.com/Jeotique/devland.js/commits/1.3.4