/*
 * To change this license header, choose License Headers in Project Properties.
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
package com.techcavern.wavetact.commands.trusted;

import com.techcavern.wavetact.objects.Command;
import com.techcavern.wavetact.utils.GeneralRegistry;
import org.pircbotx.hooks.events.MessageEvent;

/**
 * @author jztech101
 */
public class Act extends Command {

    public Act() {
        super("act", 5);
    }

    @Override
    public void onCommand(MessageEvent<?> event, String... args) throws Exception {
        event.getChannel().send().action(event.getMessage().replace(GeneralRegistry.CommandChar + "act ", ""));

    }
}

@@ -478,19 +478,18 @@
  super(%22
-act
+do
 %22, 5);%0A 

Change "act" to "do"