added kick command, made ban reason optional

This commit is contained in:
Sheldan
2020-03-18 19:25:49 +01:00
parent bd848d31d3
commit 9119d57108
14 changed files with 147 additions and 4 deletions

View File

@@ -28,7 +28,6 @@ public class SetPostTargetCommand implements Command {
private ChannelManagementService channelManagementService;
@Override
@Transactional
public Result execute(CommandContext commandContext) {
GuildChannel channel = (GuildChannel) commandContext.getParameters().getParameters().get(1);
String targetName = (String) commandContext.getParameters().getParameters().get(0);