Fix /waitwhat and /me
This commit is contained in:
parent
4d4448fca1
commit
b483b7df0c
3 changed files with 5 additions and 2 deletions
|
@ -1,5 +1,6 @@
|
|||
package buttondevteam.chat.commands;
|
||||
|
||||
import buttondevteam.lib.ChromaUtils;
|
||||
import buttondevteam.lib.TBMCSystemChatEvent;
|
||||
import buttondevteam.lib.chat.*;
|
||||
|
||||
|
@ -10,6 +11,6 @@ import buttondevteam.lib.chat.*;
|
|||
public class MeCommand extends ICommand2MC {
|
||||
@Command2.Subcommand
|
||||
public void def(Command2MCSender sender, @Command2.TextArg String message) {
|
||||
TBMCChatAPI.SendSystemMessage(sender.getChannel(), sender.getChannel().getRTR(sender.getPermCheck()), "§5* " + sender.getName() + " " + message, TBMCSystemChatEvent.BroadcastTarget.ALL);
|
||||
TBMCChatAPI.SendSystemMessage(sender.getChannel(), sender.getChannel().getRTR(sender.getPermCheck()), "§5* " + ChromaUtils.getDisplayName(sender.getSender()) + " " + message, TBMCSystemChatEvent.BroadcastTarget.ALL);
|
||||
}
|
||||
}
|
||||
|
|
|
@ -67,7 +67,7 @@ public class AppendTextComponent extends Component<PluginMain> {
|
|||
});
|
||||
appendedText(conf).set("( ͡° ͜ʖ ͡°)");
|
||||
});
|
||||
map.put("ww", conf -> {
|
||||
map.put("waitwhat", conf -> {
|
||||
helpText(conf).set(new String[]{
|
||||
"Wait what", //
|
||||
"Wait what" //
|
||||
|
|
|
@ -30,6 +30,8 @@ commands:
|
|||
description: Lenny face.
|
||||
ftop:
|
||||
description: Top respect.
|
||||
me:
|
||||
description: Me command with Chroma support.
|
||||
author: NorbiPeti
|
||||
depend:
|
||||
- Essentials
|
||||
|
|
Loading…
Reference in a new issue