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:
parent
2ac01e2ce1
commit
1ea4892167
11 changed files with 299 additions and 141 deletions
|
@ -64,7 +64,7 @@ module.exports = {
|
|||
{ name: "General", value: commands },
|
||||
)
|
||||
if(noHelp == 0)
|
||||
message.channel.send(embed);
|
||||
message.channel.send({embeds :[embed]});
|
||||
else
|
||||
message.channel.send("Either there is no command with that name, or there is no specific help for it.")
|
||||
},
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue