Skip to content
Advertisement

get only information of a specific guild

Hey so this code works completely fine but my problem is that it gets info of all the servers that the bot is in.

JavaScript

This code is for logs so I want it to have different logs for each server. For example, I don’t want to show a server that I’m not in if I changed avatar or anything. Any help is appreciated

Advertisement

Answer

You can simply check if you have any mutual guilds with the user that updated it’s info

JavaScript

To explain a bit more the list comprehension:

JavaScript
Advertisement