func (g *Guild) Member(id Snowflake) (*Member, error) {
	g.RLock()
	defer g.RUnlock()

	for _, member := range g.Members {
		if member.User.ID == id {
			return member, nil
		}
	}

	return nil, errors.New("member not found in guild")
}
// Member return a member by his/her userid
Member return a member by his/her userid
// Member return a member by his / her userid
func (g *Guild) Member(id Snowflake) (*Member, error) {
	g.RLock()
	defer g.RUnlock()
	for _, member := range g.Members {
		if member.User.ID == id {
			return member, nil
		}
	}
	return nil, errors.New("member not found in guild")
}
func ( g * Guild ) Member ( id Snowflake ) ( * Member , error ) { g . RLock ( ) defer g . RUnlock ( ) for _ , member := range g . Members { if member . User . ID == id { return member , nil } } return nil , errors . New ( " " ) }
Member return a member by his/her userid
Member return a member by his / her userid