fixing eslint
diff --git a/src/commands/settings/autopublish.ts b/src/commands/settings/autopublish.ts
index c4b9b56..f2c367f 100644
--- a/src/commands/settings/autopublish.ts
+++ b/src/commands/settings/autopublish.ts
@@ -58,7 +58,7 @@
}) as Discord.ButtonInteraction | Discord.ChannelSelectMenuInteraction;
} catch (e) {
closed = true;
- break;
+ continue;
}
if(i.isButton()) {
@@ -87,7 +87,7 @@
export const check = (interaction: CommandInteraction, _partial: boolean = false) => {
const member = interaction.member as Discord.GuildMember;
- const me = interaction.guild!.members.me as Discord.GuildMember;
+ const me = interaction.guild!.members.me!;
if (!member.permissions.has("ManageMessages"))
return "You must have the *Manage Messages* permission to use this command";
if (_partial) return true;