Aselia.UserCommands.NamesHandler.Handler C# (CSharp) Method

Handler() public method

public Handler ( object sender, ReceivedCommandEventArgs e ) : void
sender object
e ReceivedCommandEventArgs
return void
        public void Handler(object sender, ReceivedCommandEventArgs e)
        {
            if (e.Arguments.Length < 1)
            {
                e.User.ErrorNeedMoreParams(CMD);
            }

            e.User.Names(e.Arguments[0]);
        }
NamesHandler