Tomato6966 / Multipurpose-discord-bot

A multipurpose bot, a clan bot, a all in one bot. The one bot u need for ur server originally made as Milrato discord Bot and by Tomato6966.
https://milrato.com
MIT License
570 stars 604 forks source link

guildUpdate and userUpdate in logger #121

Open riciuuu opened 2 years ago

riciuuu commented 2 years ago

What's your nodejs Version.

Show the output of: node -v 16.13.0

What's the version you downloaded the bot?

From the releases e.g.: 10.2.0 10.3.0 (sharded version new release)

Desktop (please complete the following information):

  • OS: [e.g. iOS] windows
  • Version [e.g. 22] 10

Additional context, text and screenshots!

Screenshot 2022-04-15 011047

I tried to add guildUpdate and userUpdate according to the models in logger.js but I couldn't do anything, I don't know what's wrong with that code because I'm a beginner, how can I solve the problem? Thank you!

malbouy commented 2 years ago

The guildUpdate and userUpdate events are used properly but could I know if it showed any error log specifically? PS for the userUpdate thing, change it to

send_log(c,
oldUser.guild,
"BLACK",
//Rest of the code here

The GuildUpdate seems right to me

riciuuu commented 2 years ago

The guildUpdate and userUpdate events are used properly but could I know if it showed any error log specifically? PS for the userUpdate thing, change it to

send_log(c,
oldUser.guild,
"BLACK",
//Rest of the code here

The GuildUpdate seems right to me

Not working .