Releases: splitscriptjs/discord
Releases · splitscriptjs/discord
Release list
v3.1.2
Do not explicitly set patch version for @splitscript.js/core
Full Changelog: v3.1.0...v3.1.2
v3.1.0
v3.0.0
v2.0.2
Fixed reactions.create (wrong https method)
Full Changelog: v2.0.1...v2.0.2
v2.0.1
Upgrade to latest @splitscript.js/core version
Full Changelog: v2.0.0...v2.0.1
v2.0.0
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