fixed intents
diff --git a/src/api/index.ts b/src/api/index.ts
index c37b25d..4b849f1 100644
--- a/src/api/index.ts
+++ b/src/api/index.ts
@@ -177,7 +177,7 @@
         const id = req.params.id;
         if (id === undefined) return res.status(400).send("No id provided");
         const channel = await client.channels.fetch(id);
-        if (channel === null) return res.status(404).send("Could not find a channel by that id");
+        if (channel === null) return res.status(400).send("Could not find a channel by that id");
         if (channel.isDMBased()) return res.status(400).send("Cannot get a DM channel");
         return res.status(200).send(channel.name);
     });