Exemple #1
0
        public async Task Help(string Message = "null")
        {
            var _Channel = await Context.User.GetOrCreateDMChannelAsync();

            Message = Message.ToLower();

            if (_Channel != Context.Channel)
            {
                await Context.Channel.SendMessageAsync(Context.User.Mention + " Sent you a PM!");
            }

            if (!Message.Contains("all"))
            {
                await _Channel.SendMessageAsync(BotUtils.GetAlert("HELP"));
            }
            else
            {
                await _Channel.SendMessageAsync(BotUtils.GetAlert("COMMANDS"));
            }
        }