Closed GoldO-dev closed 8 months ago
Can you try node bot.js
Can you try
node bot.js
I got the same error.
In the bot.js file where const __dirname
is, just put the value import.meta.url
and see if it works
In the bot.js file where
const __dirname
is, just put the valueimport.meta.url
and see if it works
It didn't give any error, and the bot started, but the /ping doesn't work, same with the !ping
I have found a solution and will shortly push the fix.
Thanks. Appreciate the quick work.
Is there some docs for the template some where?
With docs I'm refering to a gitbook or something like that, so you don't need to click on the links every time. (I know there is docs in the readme but a gitbook would be nice)
I have pushed the update to Unstable
branch and let me know if it works for you now.
I might consider gitbook or something else but a non-priority right now.
I have pushed the update to
Unstable
branch and let me know if it works for you now. I might consider gitbook or something else but a non-priority right now.
Okay, will test it when I'm home in about 45 minutes.
Describe the issue When trying to install the newest version I get a ERR_UNSUPPORTED_ESM_URL_SCHEME error. I just followed the install guide in the readme
To Reproduce Steps to reproduce the behavior:
Expected behavior I would extect the bot to start, but I got an error.
Screenshots Screenshot of the error: Screenshot of my package.json file: Screenshot of the return I got when I ran the npm install command (I know it can't be used to anything but attached it anyway):
Host Details: