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