Skip to content

Releases: splitscriptjs/discord

v3.1.2

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 10 Sep 14:49

Do not explicitly set patch version for @splitscript.js/core

Full Changelog: v3.1.0...v3.1.2

v3.1.0

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 03 Sep 07:53

Full Changelog: v3.0.0...v3.1.0

v3.0.0

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 03 Sep 07:54

Full Changelog: v2.0.2...v3.0.0

v2.0.2

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 27 Jun 19:18

Fixed reactions.create (wrong https method)

Full Changelog: v2.0.1...v2.0.2

v2.0.1

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 24 Jun 09:35

Upgrade to latest @splitscript.js/core version

Full Changelog: v2.0.0...v2.0.1

v2.0.0

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 23 Jun 22:54

Full Changelog: ad815be

Classes

Go from

const channel = await discord.channels.create('906313801366921286', {
	name: 'a-channel'
})
await discord.channels.edit(channel.id, {
	name: 'edited-channel'
})

to

const channel = await discord.channels.create('906313801366921286', {
	name: 'a-channel'
})
await channel.edit({
	name: 'edited-channel'
})

Function Renames

Functions with the name modify are now called edit
e.g channels.modify is now channels.edit
Functions with the name modifyX are now called updateX

e.g guilds.modifyMFA is now guilds.updateMfa

v1.0.0

Choose a tag to compare

@ultravioletasdf ultravioletasdf released this 23 Jun 22:56

Typescript rewrite - all APIs!