starboard yk

This commit is contained in:
GregTCLTK 2019-12-18 17:46:55 +01:00
parent 9ba00c81cf
commit ac92159078
No known key found for this signature in database
GPG key ID: A91BADE5C070FF67
2 changed files with 3 additions and 4 deletions

View file

@ -87,7 +87,7 @@ public class Hadder {
new RegionChangeCommand(),
new AboutCommand(),
new LanguageCommand(),
new SetStarBoardCommand()), config, helpCommand);
new StarBoardCommand()), config, helpCommand);
builder.addEventListeners(
new MentionListener(rethink),

View file

@ -3,10 +3,9 @@ package com.bbn.hadder.commands.moderation;
import com.bbn.hadder.commands.Command;
import com.bbn.hadder.commands.CommandEvent;
import com.bbn.hadder.utils.MessageEditor;
import net.dv8tion.jda.api.EmbedBuilder;
import net.dv8tion.jda.api.entities.TextChannel;
public class SetStarBoardCommand implements Command {
public class StarBoardCommand implements Command {
@Override
public void executed(String[] args, CommandEvent event) {
if (event.getMessage().getMentionedChannels().size()==1) {
@ -35,7 +34,7 @@ public class SetStarBoardCommand implements Command {
@Override
public String[] labels() {
return new String[]{"setstarboard"};
return new String[]{"starboard"};
}
@Override