I know this is kinda hard but like does anyone know how to make logs? Like when an Owner gives someone a role the bot would automatically send it to #logs in the format of : @owner gave [user] [role]
I know I can do this with MEE6 but having my own bot is better, thanks
The client has a “roleUpdate” event, you can listen to it and send the logs to the channel of your preference
Use events. https://discord.js.org/#/docs/main/stable/class/Client That is the docs.
1 Like