From 099c156811b9c08ef7f73663707886360b8d82de Mon Sep 17 00:00:00 2001 From: Hsu Still <341464@gmail.com> Date: Sat, 30 Sep 2017 11:49:31 +0800 Subject: [PATCH] Add hardcode token notice in sample --- docs/guides/commands/samples/command_handler.cs | 1 + 1 file changed, 1 insertion(+) diff --git a/docs/guides/commands/samples/command_handler.cs b/docs/guides/commands/samples/command_handler.cs index cc1421991..5f0473228 100644 --- a/docs/guides/commands/samples/command_handler.cs +++ b/docs/guides/commands/samples/command_handler.cs @@ -19,6 +19,7 @@ public class Program _client = new DiscordSocketClient(); _commands = new CommandService(); + // Avoid hard coding your token. Use an external source instead in your code. string token = "bot token here"; _services = new ServiceCollection()