Zlib-sync failed to resolve
Hi! So I'm trying to integrate discordjs into my Svelte application because I want the bot to send DMs to users on a button press, but I don't want it to actually have any commands. So I created this
But when I open the page on the localhost which calls one of these functions, it gives me the following error:
I'm not sure what the issue is, and guidance would be very helpful
discordBot.js file as shown and then imported the sendDM() function on one of the pages:But when I open the page on the localhost which calls one of these functions, it gives me the following error:
I'm not sure what the issue is, and guidance would be very helpful
