Skip to content

Commit

Permalink
Remove test-channel-starboard-validity helper
Browse files Browse the repository at this point in the history
  • Loading branch information
jeremy-rifkin committed Jul 23, 2024
1 parent 4a4af84 commit 0e2d7fb
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions src/components/starboard.ts
Original file line number Diff line number Diff line change
Expand Up @@ -105,13 +105,6 @@ export default class Starboard extends BotComponent {
.set_permissions(Discord.PermissionFlagsBits.Administrator)
.set_handler(this.list_config.bind(this)),
);

this.add_command(
new TextBasedCommandBuilder("test-channel-starboard-validity")
.set_description("Test channel starboard validity")
.set_permissions(Discord.PermissionFlagsBits.Administrator)
.set_handler(this.test_channel_starboard_validity.bind(this)),
);
}

override async on_ready() {
Expand Down Expand Up @@ -537,10 +530,4 @@ export default class Starboard extends BotComponent {
].join("\n"),
);
}

async test_channel_starboard_validity(command: TextBasedCommand) {
const channel = await command.get_channel();
M.log(channel);
await command.reply(`${await this.is_valid_channel(channel)}`, true);
}
}

0 comments on commit 0e2d7fb

Please sign in to comment.