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.