function resolve($guildmember) {
        if($guildmember instanceof \CharlotteDunois\Yasmin\Models\GuildMember) {
            return $guildmember;
        }
        
        if($guildmember instanceof \CharlotteDunois\Yasmin\Models\User) {
            $guildmember = $guildmember->id;
        }
        
        if(\is_int($guildmember)) {
            $guildmember = (string) $guildmember;
        }
        
        if(\is_string($guildmember) && parent::has($guildmember)) {
            return parent::get($guildmember);
        }
        
        throw new \InvalidArgumentException('Unable to resolve unknown guild member');
    }