From ee1807f1933760c3d0ab3b1a887e1ed9c67cddfd Mon Sep 17 00:00:00 2001 From: Chris Johnston Date: Wed, 6 Feb 2019 16:32:40 +0800 Subject: [PATCH] Change prefix sample to match referenced example Co-Authored-By: Still34 <341464@gmail.com> --- .../02_commands_framework/Services/CommandHandlingService.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/samples/02_commands_framework/Services/CommandHandlingService.cs b/samples/02_commands_framework/Services/CommandHandlingService.cs index 32d17a22c..5ec496f78 100644 --- a/samples/02_commands_framework/Services/CommandHandlingService.cs +++ b/samples/02_commands_framework/Services/CommandHandlingService.cs @@ -42,7 +42,7 @@ namespace _02_commands_framework.Services // This value holds the offset where the prefix ends var argPos = 0; // Perform prefix check. You may want to replace this with - // (!message.HasCharPrefix(_prefix, ref argPos)) + // (!message.HasCharPrefix('!', ref argPos)) // for a more traditional command format like !help. if (!message.HasMentionPrefix(_discord.CurrentUser, ref argPos)) return;