From 473b258fe2247c76fefa17f62066e81342979a58 Mon Sep 17 00:00:00 2001 From: Tyler Stocks <162745945+TylerStocks1@users.noreply.github.com> Date: Tue, 14 May 2024 20:38:32 +0100 Subject: [PATCH] Update commandhandler.cpp changed except to accept --- docpages/example_code/commandhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docpages/example_code/commandhandler.cpp b/docpages/example_code/commandhandler.cpp index ea23e87529..a1323713c5 100644 --- a/docpages/example_code/commandhandler.cpp +++ b/docpages/example_code/commandhandler.cpp @@ -8,7 +8,7 @@ int main() { /* Create command handler, and specify prefixes */ dpp::commandhandler command_handler(&bot); - /* Specifying a prefix of "/" tells the command handler it should also expect slash commands. Remove the .add_prefix(".") if you wish to only make it a slash command */ + /* Specifying a prefix of "/" tells the command handler it should also accept slash commands. Remove the .add_prefix(".") if you wish to only make it a slash command */ command_handler.add_prefix(".") .add_prefix("/");