Update to make it work on discord.js v13

* Use intents
* Use messageCreate instead of message
* Update sending embeds for v13
* Fix getNickname for v13
* Fix user presence
* guild.member to guild.members.cache.get
* Fix userinfo (+ some other minor changes)
This commit is contained in:
SileNce5k 2021-08-09 18:12:56 +02:00
parent 2ac01e2ce1
commit 1ea4892167
No known key found for this signature in database
GPG key ID: C507260E7F2583AD
11 changed files with 299 additions and 141 deletions

View file

@ -18,7 +18,7 @@ module.exports = {
name: "General info", value: `Name: ${client.user.username}\nPrefix: ${prefix}\nTotal Servers: ${guildCount}\nCreation Date: ${getCreationDate(client)}\nSource: [Click Here](https://github.com/SileNce5k/discord_bot)`,
},)
message.channel.send(embed)
message.channel.send({embeds :[embed]})
}
};