public function setInstances($message, $moduleManager)
    {
        $this->ModuleManager = $moduleManager;
        $this->Message = $message;
        $this->Channel = $message->channel;

        if (isset($message->channel->guild) && is_object($message->channel->guild)) {
            $this->Guild = $message->channel->guild;
        }

        if (isset($message->channel->guild->members) && is_object($message->channel->guild->members)) {
            $this->Members = $message->channel->guild->members;
        }

        return $this;
    }
public function setInstances($message, $moduleManager)
    {
        $this->ModuleManager = $moduleManager;
        $this->Message = $message;
        $this->Channel = $message->channel;

        if (isset($message->channel->guild) && is_object($message->channel->guild)) {
            $this->Guild = $message->channel->guild;
        }

        if (isset($message->channel->guild->members) && is_object($message->channel->guild->members)) {
            $this->Members = $message->channel->guild->members;
        }

        return $this;
    }
public function setInstances ( $ message , $ moduleManager ) { $ this -> ModuleManager = $ moduleManager ; $ this -> Message = $ message ; $ this -> Channel = $ message -> channel ; if ( isset ( $ message -> channel -> guild ) && is_object ( $ message -> channel -> guild ) ) { $ this -> Guild = $ message -> channel -> guild ; } if ( isset ( $ message -> channel -> guild -> members ) && is_object ( $ message -> channel -> guild -> members ) ) { $ this -> Members = $ message -> channel -> guild -> members ; } return $ this ; }
Set the instances to the Wrapper.

@param \Discord\Parts\Channel\Message $message The messages object.
@param \Skinny\Module\ModuleManager $moduleManager The ModuleManager object.

@return object Return this Wrapper.
Set the instances to the Wrapper .