No typescript errors
diff --git a/src/commands/mod/viewas.ts b/src/commands/mod/viewas.ts
index 9c163a7..b176dd4 100644
--- a/src/commands/mod/viewas.ts
+++ b/src/commands/mod/viewas.ts
@@ -91,7 +91,7 @@
     const rulesChannel = interaction.guild!.rulesChannel?.id;
 
     async function nameFromChannel(channel: GuildBasedChannel): Promise<string> {
-        let channelType = channel.type;
+        let channelType: Discord.ChannelType | 99 = channel.type;
         if (channelType === Discord.ChannelType.GuildCategory) return "";
         if (channel.id === rulesChannel) channelType = 99
         let threads: Discord.ThreadChannel[] = [];