public string MakeInfoLine(PokemonInfo info, IBotConfiguration config, ulong guildId, int paddingSize = 0)
        {
            var lineFormat = Language.Formats["infoLine"];// "\n{0}: {7}Tier={1} BossCP={2:#,##0} MinCP={3:#,##0} MaxCP={4:#,##0} CatchRate={5}%{6}";
            var padding    = 0;

            if (paddingSize > 0)
            {
                padding = paddingSize - info.BossNameFormatted.Length;
            }

            var allAliases = new List <string>(info.Aliases);

            if (config.GetServerConfig(guildId, ChatTypes.Discord).PokemonAliases.ContainsKey(info.Id))
            {
                allAliases.AddRange(config.GetServerConfig(guildId, ChatTypes.Discord).PokemonAliases[info.Id]);
            }

            return(string.Format(lineFormat,
                                 info.BossNameFormatted,
                                 new String(' ', padding),
                                 info.Tier,
                                 info.BossCP.ToString() + (info.BossCP < 9999 ? " " : ""),
                                 info.MinCP.ToString() + (info.MinCP < 999 ? " " : ""),
                                 info.MaxCP.ToString() + (info.MaxCP < 999 ? " " : ""),
                                 info.CatchRate * 100,
                                 allAliases.Count == 0 ? "" : Language.Strings["aliases"] + ": " + string.Join(",", allAliases)
                                 ));
        }
        public BotCommandHandler(IChatMessageHandler handler, IChatMessage message, MessageParser parser)
        {
            Handler = handler;
            Message = message;
            Parser = parser;

            Config = Handler.Config;
            Command = new List<string>(Message.Content.ToLower().Replace("  ", " ").Substring(Config.Prefix.Length).Split(' '));
            Command.Remove("");
            switch (message.ChatType)
            {
                case ChatTypes.Discord:
                    Output = new DiscordMessageOutput();
                    break;
            }

            GuildConfig = Config.GetServerConfig(message.Server.Id, message.ChatType);
        }