def server(id)
      id = id.resolve_id
      return @servers[id] if @servers[id]

      LOGGER.out("Resolving server #{id}")
      begin
        response = API::Server.resolve(token, id)
      rescue Discordrb::Errors::NoPermission
        return nil
      end
      server = Server.new(JSON.parse(response), self)
      @servers[id] = server
    end
def server(id)
      id = id.resolve_id
      return @servers[id] if @servers[id]

      LOGGER.out("Resolving server #{id}")
      begin
        response = API::Server.resolve(token, id)
      rescue Discordrb::Errors::NoPermission
        return nil
      end
      server = Server.new(JSON.parse(response), self)
      @servers[id] = server
    end
Gets a server by its ID.
 @note This can only resolve servers the bot is currently in.
 @param id [Integer] The server ID that should be resolved.
 @return [Server, nil] The server identified by the ID, or `nil` if it couldn't be found.