Closed brandoningli closed 2 years ago
Notes of things to look at during this cutover:
channel.send({ content: 'Hello!', embeds: [embed, embed2] });
thingID
becomes thingId
client.on("message")
becomes client.on("messageCreate")
message.reply
function. See the docscollection.array()
becomes [...collection.values()]
and collection.keyArray()
becomes [...collection.keys()]
guild.member(user)
becomes guild.members.cache.get(user.id)
member.hasPermission(perm)
becomes member.permissions.has(perm)
member.lastMessage
and related were removedTextChannel.{start,stop}Typing
is now just TextChannel.sendTyping()
that stops after 10 seconds or when a message is sent.
Is your feature request related to a problem? Please describe.
Describe the solution you'd like
Update Discord.js to the new v13.
Describe alternatives you've considered
Leaving on v12 leaves features on the table.
Additional context