Skip to content

Commit 71d8e6b

Browse files
committed
is this it
1 parent c05a949 commit 71d8e6b

File tree

4 files changed

+5
-4
lines changed

4 files changed

+5
-4
lines changed

tooling/sparta/packages/discord/src/slashCommands/operators/help.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ export async function showOperatorHelp(
4747
inline: false,
4848
},
4949
{
50-
name: `/operator ${NodeOperatorSubcommands.Register}`,
50+
name: `/operator ${NodeOperatorSubcommands.Start}`,
5151
value: "Register your validator node on the discord server\n• Run without parameters for detailed registration instructions\n• Or use with:\n`address` - Your validator address\n`block-number` - Block number for verification\n`proof` - Your sync proof",
5252
inline: false,
5353
},

tooling/sparta/packages/discord/src/slashCommands/operators/index.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ export default {
3131
)
3232
.addSubcommand((subcommand) =>
3333
subcommand
34-
.setName(NodeOperatorSubcommands.Register)
34+
.setName(NodeOperatorSubcommands.Start)
3535
.setDescription(
3636
"Register your validator or get registration instructions"
3737
)
@@ -69,7 +69,7 @@ export default {
6969
case NodeOperatorSubcommands.ChainInfo:
7070
await getChainInfo(interaction);
7171
break;
72-
case NodeOperatorSubcommands.Register:
72+
case NodeOperatorSubcommands.Start:
7373
await registerValidator(interaction);
7474
break;
7575
case NodeOperatorSubcommands.Help:

tooling/sparta/packages/discord/src/types.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@ export enum NodeOperatorSubcommandGroups {
2323
export enum NodeOperatorSubcommands {
2424
ChainInfo = "chain-info",
2525
MyStats = "my-stats",
26-
Register = "register",
26+
Start = "start",
2727
Help = "help",
2828
}
2929

tooling/sparta/packages/discord/src/utils/channels.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,7 @@ import { TextChannel } from "discord.js";
1212
export const CHANNELS = {
1313
MOD_BOT: { name: "mod-bot", id: "1367117045963161685" },
1414
BOT_TEST: { name: "bot-test", id: "1329081299490570296" },
15+
OPERATORS_START_HERE: { name: "operators | start-here", id: "1367196595866828982" },
1516
};
1617

1718
/**

0 commit comments

Comments
 (0)