i should mention im doing live tests before upload, and this is pre-maintenance, anything worth noting will be written in comments Signed-off-by: deepCurse <leverplays@gmail.com>
18 lines
545 B
Java
18 lines
545 B
Java
package pkg.deepCurse.nopalmo.global;
|
|
|
|
import net.dv8tion.jda.api.entities.MessageChannel;
|
|
import net.dv8tion.jda.api.entities.TextChannel;
|
|
import pkg.deepCurse.nopalmo.command.DirectCommand;
|
|
import pkg.deepCurse.nopalmo.command.GuildCommand;
|
|
|
|
public class Tools {
|
|
|
|
public static void wrongUsage(TextChannel tc, GuildCommand c) {
|
|
tc.sendMessage("Wrong Command Usage!\n" + c.getUsage()).queue();
|
|
}
|
|
|
|
public static void wrongUsage(MessageChannel tc, DirectCommand c) {
|
|
tc.sendMessage("Wrong Command Usage!\n" + c.getUsage()).queue();
|
|
}
|
|
|
|
}
|