Ejemplo n.º 1
0
        public async Task Help()
        {
            var commandInfos = _helpService.GetCommandInfos(((IGuildUser)Context.User).GuildPermissions);
            var descParams   = new List <string> {
                _botConfig.Prefix
            };

            var payload = _embedPayloadFactory.CreateEmbedPayload(EmbedStruct.Success, EmbedPayloadType.Help,
                                                                  "help", Context.User, descParams, null, null, commandInfos);

            var embed = _embedService.CreateFieldEmbed(payload);

            await SendEmbedAsync(embed);
        }