Prefix
This commit is contained in:
parent
5be162fd1a
commit
d6e78b6a45
4 changed files with 9 additions and 9 deletions
|
|
@ -47,7 +47,7 @@ public class Hadder {
|
||||||
helpCommand,
|
helpCommand,
|
||||||
new TestCommand(),
|
new TestCommand(),
|
||||||
new BanCommand(),
|
new BanCommand(),
|
||||||
new PrefixCommand(),
|
new UserPrefixCommand(),
|
||||||
new ShutdownCommand(),
|
new ShutdownCommand(),
|
||||||
new KickCommand(),
|
new KickCommand(),
|
||||||
new PingCommand(),
|
new PingCommand(),
|
||||||
|
|
@ -58,7 +58,7 @@ public class Hadder {
|
||||||
new EqualsCommand(),
|
new EqualsCommand(),
|
||||||
new InviteCommand(),
|
new InviteCommand(),
|
||||||
new NickCommand(),
|
new NickCommand(),
|
||||||
new GuildPrefixCommand(),
|
new PrefixCommand(),
|
||||||
new BlowjobCommand(),
|
new BlowjobCommand(),
|
||||||
new PornCommand(),
|
new PornCommand(),
|
||||||
new AnalCommand(),
|
new AnalCommand(),
|
||||||
|
|
|
||||||
|
|
@ -5,7 +5,7 @@ import com.bbn.hadder.commands.CommandEvent;
|
||||||
import com.bbn.hadder.utils.MessageEditor;
|
import com.bbn.hadder.utils.MessageEditor;
|
||||||
import net.dv8tion.jda.api.Permission;
|
import net.dv8tion.jda.api.Permission;
|
||||||
|
|
||||||
public class GuildPrefixCommand implements Command {
|
public class PrefixCommand implements Command {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public void executed(String[] args, CommandEvent event) {
|
public void executed(String[] args, CommandEvent event) {
|
||||||
|
|
@ -38,7 +38,7 @@ public class GuildPrefixCommand implements Command {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] labels() {
|
public String[] labels() {
|
||||||
return new String[]{"guildprefix"};
|
return new String[]{"prefix"};
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -48,6 +48,6 @@ public class GuildPrefixCommand implements Command {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String usage() {
|
public String usage() {
|
||||||
return "guildprefix";
|
return "prefix";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -8,7 +8,7 @@ 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;
|
||||||
|
|
||||||
public class PrefixCommand implements Command {
|
public class UserPrefixCommand implements Command {
|
||||||
|
|
||||||
public void executed(String[] args, CommandEvent event) {
|
public void executed(String[] args, CommandEvent event) {
|
||||||
if (args.length == 1) {
|
if (args.length == 1) {
|
||||||
|
|
@ -26,7 +26,7 @@ public class PrefixCommand implements Command {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String[] labels() {
|
public String[] labels() {
|
||||||
return new String[] { "prefix" };
|
return new String[] { "userprefix" };
|
||||||
}
|
}
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
|
|
@ -36,6 +36,6 @@ public class PrefixCommand implements Command {
|
||||||
|
|
||||||
@Override
|
@Override
|
||||||
public String usage() {
|
public String usage() {
|
||||||
return "prefix";
|
return "userprefix";
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
@ -7,8 +7,8 @@ Hadder = Hadder
|
||||||
searchterm = <SearchTerm>
|
searchterm = <SearchTerm>
|
||||||
username = <Username>
|
username = <Username>
|
||||||
number = <Number>/all
|
number = <Number>/all
|
||||||
guildprefix = <New Guild-Prefix>
|
|
||||||
prefix = <New Prefix>
|
prefix = <New Prefix>
|
||||||
|
userprefix = <New User-Prefix>
|
||||||
vc-name/id = <VoiceChannelID|VoiceChannelName>
|
vc-name/id = <VoiceChannelID|VoiceChannelName>
|
||||||
user+nickname = <@user> <New Nickname>
|
user+nickname = <@user> <New Nickname>
|
||||||
region = <region>
|
region = <region>
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue