Skip to content

Commit 033f0fa

Browse files
committed
🚧 Create Role-Sync command groups
1 parent b9a7d00 commit 033f0fa

3 files changed

Lines changed: 44 additions & 0 deletions

File tree

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package io.github.hyscript7.scriptutils.modules.rolesync.internal.commands;
2+
3+
import org.springframework.stereotype.Component;
4+
5+
import io.github.hyscript7.scriptutils.domain.discord.commands.CommandGroup;
6+
import io.github.hyscript7.scriptutils.domain.discord.commands.CommandMeta;
7+
8+
@Component
9+
public class RoleSyncCommandGroup extends CommandGroup {
10+
11+
public RoleSyncCommandGroup() {
12+
super(new CommandMeta("rolesync", "Lets you manage how roles get synced between your servers."));
13+
}
14+
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
package io.github.hyscript7.scriptutils.modules.rolesync.internal.commands.bindings;
2+
3+
import org.springframework.stereotype.Component;
4+
5+
import io.github.hyscript7.scriptutils.domain.discord.commands.CommandMeta;
6+
import io.github.hyscript7.scriptutils.domain.discord.commands.SubcommandGroup;
7+
8+
@Component
9+
public class RoleSyncBindingSubcommandGroup extends SubcommandGroup {
10+
11+
public RoleSyncBindingSubcommandGroup() {
12+
super(new CommandMeta("binding",
13+
"Manage role bindings. (Which role gets synced to which roles on other guilds)"));
14+
}
15+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
package io.github.hyscript7.scriptutils.modules.rolesync.internal.commands.groups;
2+
3+
import org.springframework.stereotype.Component;
4+
5+
import io.github.hyscript7.scriptutils.domain.discord.commands.CommandMeta;
6+
import io.github.hyscript7.scriptutils.domain.discord.commands.SubcommandGroup;
7+
8+
@Component
9+
public class RoleSyncGroupSubcommandGroup extends SubcommandGroup {
10+
11+
public RoleSyncGroupSubcommandGroup() {
12+
super(new CommandMeta("group", "Manage role-sync groups."));
13+
}
14+
}

0 commit comments

Comments
 (0)