Skip to content
This repository has been archived by the owner on Oct 1, 2019. It is now read-only.

Commit

Permalink
Modstuff: command selfmute: Require at least one parameter
Browse files Browse the repository at this point in the history
  • Loading branch information
Nikos410 committed Dec 10, 2018
1 parent d4e38a5 commit fb9e473
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/de/nikos410/discordbot/modules/ModStuff.java
Original file line number Diff line number Diff line change
Expand Up @@ -276,7 +276,7 @@ public void command_mute(final IMessage message, final String userString, final
}

@CommandSubscriber(command = "selfmute", help = "Schalte dich selber für die angegebene Zeit stumm",
pmAllowed = false, ignoreParameterCount = true)
pmAllowed = false)
public void command_selfmute(final IMessage message, final String muteDurationInput) {
// The author of the message will be muted
final IUser muteUser = message.getAuthor();
Expand Down

0 comments on commit fb9e473

Please sign in to comment.