From c47543f808d6dce974e68e2b7f2b6cb21926f713 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Alexander=20S=C3=B6derberg?= Date: Fri, 2 Feb 2024 12:08:38 +0100 Subject: [PATCH] fix(core): use correct variable name in parser example --- docs/core/index.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/docs/core/index.md b/docs/core/index.md index e733ca9..764c7c5 100644 --- a/docs/core/index.md +++ b/docs/core/index.md @@ -736,9 +736,9 @@ Returning a future is useful when the parsing needs to take place on a specific @Override public ArgumentParseResult parse( CommandContext context, - CommandInput input + CommandInput commandInput ) { - final String input = input.peekString(); // Does not remove the string from the input! + final String commandInput = input.peekString(); // Does not remove the string from the input! try { final UUID uuid = UUID.fromString(input); input.readString(); // Removes the string from the input.