public void RecalculateMessage() { lines = message.FormatMessage(DTT.Instance.MainUI.gridMessages.GetDimensions().Width - 100).ToArray(); height = lines.Last().Y + lines.Last().Height; if (height < 40) { height = 40; } Height.Set(height, 0); Recalculate(); if (message.Author.Presence != null && message.Author.Presence.Guild != null && message.Author.Presence.Guild.Id == DTT.Instance.currentGuild.Id) { member = message.Author.Presence.Guild.Members.First(x => x.Id == message.Author.Id); } }