From 28b044d2d715a4237aec31a0f427eabd8483398f Mon Sep 17 00:00:00 2001 From: Jonathan Riedel Date: Wed, 3 Apr 2024 21:31:31 +0200 Subject: [PATCH] Removed token (I'm stupid) --- SMSModLogOutputAnalyzer/Program.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SMSModLogOutputAnalyzer/Program.cs b/SMSModLogOutputAnalyzer/Program.cs index a59169a..b41f9da 100644 --- a/SMSModLogOutputAnalyzer/Program.cs +++ b/SMSModLogOutputAnalyzer/Program.cs @@ -22,7 +22,7 @@ namespace SMSModLogOutputAnalyzer // You can assign your bot token to a string, and pass that in to connect. // This is, however, insecure, particularly if you plan to have your code hosted in a public repository. - var token = "MTIyNDgxNjA3OTMwMjQzMDgwMA.GJA8Al.ZeWh0sejaF7MX_v7_gSLzajcVCOiKhLqJNswlI"; + var token = File.ReadAllText("token.txt"); _client.Ready += _client_Ready; // Some alternative options would be to keep your token in an Environment Variable or a standalone file.