def get_user_by_id ( self , id ) : return self . db_adapter . get_object ( self . UserClass , id = id )
discord python get user from id string
Retrieve a User object by ID .
def get_user_by_id(self, id):
        """Retrieve a User object by ID."""
        return self.db_adapter.get_object(self.UserClass, id=id)