Removed token (I'm stupid)

This commit is contained in:
pan.codes 2024-04-03 21:31:31 +02:00
parent 5a2f9977ca
commit 28b044d2d7

View file

@ -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.