public static string SelectFooterEmbedText(SocketUser u, Stopwatch sw = null) { if (u.GetPremiumRank() == null) { if (sw == null) { return($"Called by {u.Username}"); } else { return($"Called by {u.Username} | Completed in {sw.ElapsedMilliseconds}ms"); } } else { if (sw == null) { return($"Called by Premium User {u.Username}"); } else { return($"Called by Premium User {u.Username} | Completed in {sw.ElapsedMilliseconds}ms"); } } }
public static Discord.Color SelectEmbedColour(SocketUser u) { if (u.GetPremiumRank() == null) { return(Discord.Color.Red); } else { return(GetRandomColour()); } }