starboard yk
This commit is contained in:
parent
9ba00c81cf
commit
ac92159078
2 changed files with 3 additions and 4 deletions
|
|
@ -87,7 +87,7 @@ public class Hadder {
|
||||||
new RegionChangeCommand(),
|
new RegionChangeCommand(),
|
||||||
new AboutCommand(),
|
new AboutCommand(),
|
||||||
new LanguageCommand(),
|
new LanguageCommand(),
|
||||||
new SetStarBoardCommand()), config, helpCommand);
|
new StarBoardCommand()), config, helpCommand);
|
||||||
|
|
||||||
builder.addEventListeners(
|
builder.addEventListeners(
|
||||||
new MentionListener(rethink),
|
new MentionListener(rethink),
|
||||||
|
|
|
||||||
|
|
@ -3,10 +3,9 @@ package com.bbn.hadder.commands.moderation;
|
||||||
import com.bbn.hadder.commands.Command;
|
import com.bbn.hadder.commands.Command;
|
||||||
import com.bbn.hadder.commands.CommandEvent;
|
import com.bbn.hadder.commands.CommandEvent;
|
||||||
import com.bbn.hadder.utils.MessageEditor;
|
import com.bbn.hadder.utils.MessageEditor;
|
||||||
import net.dv8tion.jda.api.EmbedBuilder;
|
|
||||||
import net.dv8tion.jda.api.entities.TextChannel;
|
import net.dv8tion.jda.api.entities.TextChannel;
|
||||||
|
|
||||||
public class SetStarBoardCommand implements Command {
|
public class StarBoardCommand implements Command {
|
||||||
@Override
|
@Override
|
||||||
public void executed(String[] args, CommandEvent event) {
|
public void executed(String[] args, CommandEvent event) {
|
||||||
if (event.getMessage().getMentionedChannels().size()==1) {
|
if (event.getMessage().getMentionedChannels().size()==1) {
|
||||||
|
|
@ -35,7 +34,7 @@ public class SetStarBoardCommand implements Command {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] labels() {
|
public String[] labels() {
|
||||||
return new String[]{"setstarboard"};
|
return new String[]{"starboard"};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
Loading…
Add table
Reference in a new issue