Typing /logs will bring up the logs menu where you can choose channels to send specific events to!

Click "Add Channel" to start setting up logs

Afterwards, mention the channel where you want the logs to be at

And lastly, select what logs you want to be sent to this channel.

And done!

The bot is unable to track users that got invited by using a vanity URL