Skip to content

Commit 8440edb

Browse files
committed
🧹 chore: add TypeScript error suppression comments for onboarding roles and channels
1 parent 746e577 commit 8440edb

1 file changed

Lines changed: 2 additions & 0 deletions

File tree

‎src/commands/onboarding/index.ts‎

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@ export const onboardingCommand = createCommand({
1919
});
2020
return;
2121
}
22+
// @ts-expect-error: This command isn't used and shouldn't affect anything, onboarding roles are TBD
2223
const onboardingRole = guild.roles.cache.get(config.onboarding.roleId);
2324
if (!onboardingRole) {
2425
await interaction.reply({
@@ -27,6 +28,7 @@ export const onboardingCommand = createCommand({
2728
});
2829
return;
2930
}
31+
// @ts-expect-error: This command isn't used and shouldn't affect anything, onboarding channels are TBD
3032
const onboardingChannel = guild.channels.cache.get(config.onboarding.channelId);
3133
if (!onboardingChannel || !onboardingChannel.isSendable()) {
3234
await interaction.reply({

0 commit comments

Comments
 (0)