Example #1
0
        public async Task OnUserJoined(SocketGuildUser user)
        {
            var method = new UserJoined(Client, Config);
            await method.ProcessAsync(user).ConfigureAwait(false);

            IncrementEventHandle("UserJoined");
        }
Example #2
0
        public async Task OnUserJoined(SocketGuildUser user)
        {
            if (!CanProcessEvent("UserJoined"))
            {
                return;
            }

            var method = new UserJoined(Client, Config);
            await method.ProcessAsync(user).ConfigureAwait(false);

            EventPostProcess("UserJoined");
        }