Exemplo n.º 1
0
        /// <summary>
        /// Sets the Disclose options. Must be called before Connect is called.
        /// </summary>
        /// <param name="options"></param>
        public void Init(DiscloseOptions options)
        {
            _options = options;
            _parser.Init(_options);

            _discordClient.OnMessageReceived  += OnMessageReceived;
            _discordClient.OnUserJoinedServer += OnUserJoinedServer;
            _discordClient.OnServerAvailable  += OnServerAvailable;
        }