Skip to content

Releases: Jeotique/devland.js

1.4.5

Choose a tag to compare

@Jeotique Jeotique released this 11 Dec 12:30
42cb4a0

What's Changed

Fix :

  • interaction.getFocusedValue always returning null when interaction is a sub command
  • interaction.getFocusedName always returning null when interaction is a sub command
  • interaction.getFocusedType always returning null when interaction is a sub command
  • interaction.getCommandValue cannot be used for a autocomplete request (now you can)

New :

  • member.onlineSince returning 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

Choose a tag to compare

@Jeotique Jeotique released this 10 Dec 14:04
6489c94

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>.banner propertie is now accessible

New :

  • <Interaction>.getFocusedName method added to return the current input name for an autocomplete option
  • <Interaction>.getFocusedType method added to return the current input type for an autocomplete option
  • <Interaction>.getFocusedValue method added to return the current input value for an autocomplete option

Full Changelog: 1.4.3...1.4.4

1.4.3

Choose a tag to compare

@Jeotique Jeotique released this 09 Dec 14:36
b75747d

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

  • fetchAvatar added
  • getBannerUrl added (non promise)
  • getAvatarUrl added (non promise)
    --> options of fetchAvatar / fetchBanner / getBannerUrl / getAvatarUrl can take two optionals parameters (size = number, type = 'auto'/'gif'/'png')
  • premiumType added (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

Choose a tag to compare

@Jeotique Jeotique released this 09 Dec 02:33
de35266

What's Changed

  • enableAllCaches client propertie to enable all caches in one time
  • <message>.member will now be set to null if the message is from a webhook
  • <message>.deleted fixed
  • better management of <DmChannel>.user
  • <guild>.fetchVanity fixed
  • <member>.premium_since_timestamp propertie added
  • <message>.webhookId will now be set to null instead of undefined
  • <message>.author will now be set to null instead of undefined
  • <message>.interaction will now be set to null instead of undefined
  • using a Role into a message will now mention it
  • type <guild>.fetchInvite fixed to <guild>.fetchInvites
  • <message>.nonce propertie added

Full Changelog: 1.4.1...1.4.2

1.4.1

Choose a tag to compare

@Jeotique Jeotique released this 02 Dec 23:16
97717cb

What's Changed

  • Properties enableAllCaches added 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

Choose a tag to compare

@Jeotique Jeotique released this 29 Nov 13:59
ec6dffb

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

Choose a tag to compare

@Jeotique Jeotique released this 28 Nov 08:34
d6a9903

What's Changed

Full Changelog: 1.3.4...1.3.6

1.3.4

Choose a tag to compare

@Jeotique Jeotique released this 27 Nov 13:07
d678d74

What's Changed

Full Changelog: https://github.com/Jeotique/devland.js/commits/1.3.4