gab
gab
SIASapphire - Imagine a framework
Created by gab on 9/12/2023 in #sapphire-support
Listeners not working at all
excuse me for the dum mistake
8 replies
SIASapphire - Imagine a framework
Created by gab on 9/12/2023 in #sapphire-support
Listeners not working at all
I figured it out, the main property on package.json was set to index.js instead of dist/index.js
8 replies
SIASapphire - Imagine a framework
Created by gab on 9/12/2023 in #sapphire-support
Listeners not working at all
I wrote:
client.on(Events.ClientReady, () => console.log('ready'));
client.on(Events.ClientReady, () => console.log('ready'));
on the index file and it worked fine so the event is firing, so maybe it's not being picked up for some reason????
8 replies