Skip to content

Commit

Permalink
Converted to use ENV variable for bot token. (don't worry I regenerated)
Browse files Browse the repository at this point in the history
  • Loading branch information
EchoFrost committed Feb 8, 2020
1 parent 2690888 commit 64fc2aa
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion KanyeBot/KanyeBot/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ public async Task MainAsync()
_client.Log += Log;
_client.MessageReceived += MessageReceived;

await _client.LoginAsync(TokenType.Bot, "Njc1NjE5ODg5NTg2ODk2OTA1.Xj5yyA.ZeP_4MhWVUF7bkY-k7rmlu3BwNk"); //Environment.GetEnvironmentVariable("DiscordToken")
await _client.LoginAsync(TokenType.Bot, Environment.GetEnvironmentVariable("DiscordToken"));
await _client.StartAsync();

// Block this task until the program is closed.
Expand Down

0 comments on commit 64fc2aa

Please sign in to comment.