We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c6d398e commit 51b2cafCopy full SHA for 51b2caf
Anarchy/REST/SuperProperties.cs
@@ -19,7 +19,9 @@ private static int GetClientVersion()
19
string appPage = client.GetStringAsync("https://discord.com/app").Result;
20
const string findThis = "build_number:\"";
21
22
- foreach (var asset in new List<Match>(Regex.Matches(appPage, "/assets/.{20}.js")).Reverse())
+ var assets = new List<Match>(Regex.Matches(appPage, "/assets/.{20}.js"));
23
+ assets.Reverse();
24
+ foreach (var asset in assets)
25
{
26
var content = client.GetStringAsync("https://discord.com" + asset).Result;
27
0 commit comments