Skip to content
This repository was archived by the owner on Sep 11, 2023. It is now read-only.

Commit 1312dca

Browse files
committed
moved the RPC App ID to constants
(im sorry this is the last one)
1 parent 84ad529 commit 1312dca

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

Program.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ public static class Program
3030
public static UpdateInfo UpdateStatus;
3131

3232
public static bool RCCKMade;
33-
public static DiscordRpcClient discordClient = new DiscordRpcClient("692110664948514836");
33+
public static DiscordRpcClient discordClient = new DiscordRpcClient(Constants.DiscordRPCAppID);
3434
public static Timestamps discordTime = Timestamps.Now;
3535

3636
public static string Indentation => OptionsObject.Editor_ReplaceTabsToWhitespace

Utils/Constants.cs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,6 @@
33
public class Constants
44
{
55
public static string GitHubNewIssueLink = "https://github.com/Hexer10/SPCode/issues/new";
6+
public static string DiscordRPCAppID = "692110664948514836";
67
}
78
}

0 commit comments

Comments
 (0)