TGTGamer
TGTGamer
Explore posts from servers
SIASapphire - Imagine a framework
Created by TGTGamer on 12/10/2023 in #sapphire-support
Bit.dev API Plugin not working
Ok, so I'm having a issue with my bot and I'm really struggling to figure out where I've gone wrong. So I started with the template using sapphire new and chose the typescript variation and full template, which has the api's. I then converted this bot template to work with Bit.dev as can be found here: https://bit.cloud/eventiva/bots/discord/helper/~code/helper.ts https://bit.cloud/eventiva/bots/discord/helper/~code/helper.app-root.ts It works fine to run the command, but it doesn't seem to be working for the plugins, and I'm really unsure what I should be doing differently. I'm importing the import '@sapphire/plugin-api/register'; and the server is listening true when I do a console.log(client.server.server.listening); Yet when I go to localhost:4000 or 127.0.0.1:4000 I can't seem to connect and I'm really dumbfounded. Any chance one of you can see something stupid I'm missing?
26 replies