Skip to content

Commit a8b5f00

Browse files
committed
style: changed interserver name
1 parent c62e545 commit a8b5f00

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

src/commands/interchat.ts

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,7 +28,7 @@ setInterval(
2828

2929
export const data = new SlashCommandBuilder()
3030
.setName("interchat")
31-
.setDescription("Manage inter-server chat connections")
31+
.setDescription("Manage interserver chat connections")
3232
.setDefaultMemberPermissions(PermissionFlagsBits.ManageChannels)
3333
.addSubcommand((subcommand) =>
3434
subcommand
@@ -49,7 +49,7 @@ export const data = new SlashCommandBuilder()
4949
.addSubcommand((subcommand) =>
5050
subcommand
5151
.setName("leave")
52-
.setDescription("Disconnect this channel from inter-server chat"),
52+
.setDescription("Disconnect this channel from interserver chat"),
5353
)
5454
.addSubcommand((subcommand) =>
5555
subcommand.setName("status").setDescription("Check connection status"),
@@ -70,7 +70,7 @@ export async function execute(
7070

7171
if (interaction.channel.type !== ChannelType.GuildText) {
7272
await interaction.reply({
73-
content: "Inter-server chat only supports text channels.",
73+
content: "Interserver chat only supports text channels.",
7474
ephemeral: true,
7575
});
7676
return;
@@ -151,7 +151,7 @@ export async function execute(
151151

152152
if (success) {
153153
await interaction.reply({
154-
content: "✅ Inter-server link removed for this channel.",
154+
content: "✅ Interserver link removed for this channel.",
155155
});
156156
} else {
157157
await interaction.reply({

src/utils/interServerChat.ts

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ export class InterServerChat {
5454
pools: parsed.pools || [],
5555
};
5656
} catch (error) {
57-
console.error("❌ Failed to load inter-server data:", error);
57+
console.error("❌ Failed to load interserver data:", error);
5858
this.data = { pools: [] };
5959
}
6060
}
@@ -67,7 +67,7 @@ export class InterServerChat {
6767
}
6868
fs.writeFileSync(DATA_PATH, JSON.stringify(this.data, null, 2));
6969
} catch (error) {
70-
console.error("❌ Failed to save inter-server data:", error);
70+
console.error("❌ Failed to save interserver data:", error);
7171
}
7272
}
7373

0 commit comments

Comments
 (0)