From a7f2518e27145f187d2e04c1bb6f08f59eab9d6d Mon Sep 17 00:00:00 2001 From: BadPackage <73039913+BadPackage@users.noreply.github.com> Date: Wed, 1 Feb 2023 18:16:33 +0100 Subject: [PATCH] ")" was missing (#2389) --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 3d428c9979..bfe5705b01 100644 --- a/README.md +++ b/README.md @@ -218,7 +218,7 @@ public class Bot extends ListenerAdapter jda.updateCommands().addCommands( Commands.slash("ping", "Calculate ping of the bot"), Commands.slash("ban", "Ban a user from the server") - .setDefaultPermissions(DefaultMemberPermissions.enabledFor(Permission.BAN_MEMBERS) // only usable with ban permissions + .setDefaultPermissions(DefaultMemberPermissions.enabledFor(Permission.BAN_MEMBERS)) // only usable with ban permissions .setGuildOnly(true) // Ban command only works inside a guild .addOption(OptionType.USER, "user", "The user to ban", true) // required option of type user (target to ban) .addOption(OptionType.STRING, "reason", "The ban reason") // optional reason