Repository navigation
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