File tree Expand file tree Collapse file tree 1 file changed +2
-1
lines changed
src/main/java/org/mangorage/mangobotcore/jda/command/internal Expand file tree Collapse file tree 1 file changed +2
-1
lines changed Original file line number Diff line number Diff line change 33import net .dv8tion .jda .api .entities .Message ;
44import org .mangorage .commonutils .misc .Arguments ;
55import org .mangorage .commonutils .misc .TaskScheduler ;
6+ import org .mangorage .entrypoint .MangoBotCore ;
67import org .mangorage .mangobotcore .jda .command .api .CommandManager ;
78import org .mangorage .mangobotcore .jda .command .api .CommandResult ;
89import org .mangorage .mangobotcore .jda .command .api .ICommand ;
@@ -26,7 +27,7 @@ public void register(ICommand command) {
2627 @ Override
2728 public void handle (Message message ) {
2829 var rawMessage = message .getContentRaw ();
29- var cmdPrefix = "!" ;
30+ var cmdPrefix = MangoBotCore . isDevMode () ? "dev!" : "!" ;
3031 var silent = false ;
3132
3233 if (rawMessage .startsWith ("s" +cmdPrefix )) {
You can’t perform that action at this time.
0 commit comments