From 8d29803f4d1b6eae0d0a059438c6452ceda44479 Mon Sep 17 00:00:00 2001 From: tonywald <101457376+tonywald@users.noreply.github.com> Date: Wed, 12 Feb 2025 19:17:47 -0800 Subject: [PATCH] Update README.md Corrected comments on lines 32 and 33 to accurately reflect the available choices for .privacy() and .locality() methods to prevent any potential confusion. --- README.md | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/README.md b/README.md index ac78f24..3c71c1c 100644 --- a/README.md +++ b/README.md @@ -29,8 +29,8 @@ public Ability saysHelloWorld() { return Ability.builder() .name("hello") // Name and command (/hello) .info("Says hello world!") // Necessary if you want it to be reported via /commands - .privacy(PUBLIC) // Choose from Privacy Class (Public, Admin, Creator) - .locality(ALL) // Choose from Locality enum Class (User, Group, PUBLIC) + .privacy(PUBLIC) // Choose from Privacy enumm Class (PUBLIC, GROUP_ADMIN, ADMIN, CREATOR) + .locality(ALL) // Choose from Locality enum Class (USER, GROUP, ALL) .input(0) // Arguments required for command (0 for ignore) .action(ctx -> { /* @@ -68,4 +68,4 @@ public void canSayHelloWorld() { // We verify that the sender was called only ONCE and sent Hello World to CHAT_ID Mockito.verify(sender, times(1)).send("Hello World!", CHAT_ID); } -``` \ No newline at end of file +```