Skip to content

Releases: ddoodev/discordoo

v0.12.5

12 Oct 19:44
Compare
Choose a tag to compare
v0.12.5 Pre-release
Pre-release

small fixes

v0.12.4

17 Jul 14:21
Compare
Choose a tag to compare
v0.12.4 Pre-release
Pre-release

Hotfix release

Move @discordoo/providers dependency from devDependencies to dependencies in package.json

v0.12.3

17 Jul 13:27
Compare
Choose a tag to compare
v0.12.3 Pre-release
Pre-release

Minor fixes and additions

Added

  • Allowed mentions now available;
  • sendTyping method for WritableChannel.

Fixed

  • Changed type for emoji property from Required<AbstractEmojiData> to AbstractEmojiData in SelectMenuOptionData;
  • Added missing name property in AbstractThreadChannel;
  • Added missing explicitContentFilter in Guild;
  • Added missing methods and properties (minLength, maxLength, minValue, maxValue, channelTypes) in AppCommandOptionBuilder;
  • Added boolean type in value property in AppCommandInteractionOptionPayload interface.

Full Changelog: v0.12.2...v0.12.3

v0.12.2

16 Jul 14:03
Compare
Choose a tag to compare
v0.12.2 Pre-release
Pre-release

Minor fixes in interactions

Fixed:

  1. the ability to respond with a modal window has been added to MessageComponentInteraction ;
  2. AppCommandInteractionData has been divided into several parts to add missing data: target id.

Full Changelog: v0.12.0...v0.12.2

v0.12.0

15 Jul 11:59
Compare
Choose a tag to compare
v0.12.0 Pre-release
Pre-release

This is breaking release

Interactions is finished!

Now you can fully operate with interactions, including Modal, Autocomplete & UI Commands.

Client changes

The Client class no longer exists. There are three DiscordApplications:

  1. with gateway, cache and rest: DiscordApplication;
  2. without gateway: DiscordRestApplication;
  3. and without gateway and rest: DiscordCacheApplication.

All client properties have been renamed to app.

Startup changes

The createApp function no longer exists. The replacement is DiscordFactory:

import { DiscordFactory, IntentsUtil } from 'discordoo'

const app = DiscordFactory.create('discord-bot-token', { // ApplicationOptions
    gateway: { // passing GatewayOptions
        intents: IntentsUtil.ALL // passing intents to work with all events
    }
})

app.on('messageCreate', context => { // MessageCreateEventContext
    const { message: msg } = context

    if (msg.content === '!ping') { // some kind of command
        // the latency is updated once every 40 seconds as soon as the heartbeat occurs
        msg.reply(`🏓 pong! ${app.gateway.ping}ms`)
    }
})

app.start()

Docs

We switched to Angular documentation, now it's easier to use and it looks nicer. Check it out: https://docs.ddoo.dev/

NodeJS Update

v0.12.0 requires NodeJS v16.13 or newer. Discordoo now compiles to ES2020 target.

Full changelog

See: v0.11.5...v0.12.0

v0.11.5

27 Sep 21:18
71d5534
Compare
Choose a tag to compare
v0.11.5 Pre-release
Pre-release

This release adds createWebhookApp and WebhookClient.

v0.11.2

15 Jul 17:56
37c2377
Compare
Choose a tag to compare
v0.11.2 Pre-release
Pre-release

there are breaking change in @discordoo/collection. option 'return' has been renamed to 'returnType'. changed by pr: ddoodev/collection#6

v0.11.0

11 Jul 16:16
a49e830
Compare
Choose a tag to compare
v0.11.0 Pre-release
Pre-release

this is breaking release.

  • to create message attachment, change MessageAttachment to MessageAttachmentConstructor. MessageAttachment now used to represent Discord's attachments, not to build them.
  • same with MessageEmbed. you must build embeds with MessageEmbedConstructor now.

added events:

  • GuildMemberAdd
  • GuildMemberRemove
  • GuildMemberUpdate
  • GuildUpdate
  • GuildRemove

Full Changelog: v0.10.0...v0.11.0

v0.10.0

17 Mar 11:29
51d2b9a
Compare
Choose a tag to compare
v0.10.0 Pre-release
Pre-release

This release fixes CVE-2022-23812.

v0.9.15

20 Feb 20:46
f2885b9
Compare
Choose a tag to compare
v0.9.15 Pre-release
Pre-release

This release adds a lot of things. Trust me.

Full Changelog: v0.9.14...v0.9.15