Comments (3)
Thank you for reporting. I Added Error handler.
There seems to be a problem logging in with the bot's token.
Make sure your bot's token is correct.
Check the set up guide -> https://github.com/Meowhal/osu-ahr#setup-1
from osu-ahr.
Thank you for reporting. I Added Error handler.
There seems to be a problem logging in with the bot's token.
Make sure your bot's token is correct.
Check the set up guide -> https://github.com/Meowhal/osu-ahr#setup-1
Here's the new error I got, I've 3x check the exact token and not a single letter or symbol was missing. I also regenerated new token and still got the same error.
[07:43:40.487][ERROR] discord - HTTPError [ReferenceError]: AbortController is not defined
at RequestHandler.execute (C:\Users\test\Desktop\osu-ahr-master\node_modules\discord.js\src\rest\RequestHandler.js:172:15)
at RequestHandler.execute (C:\Users\test\Desktop\osu-ahr-master\node_modules\discord.js\src\rest\RequestHandler.js:176:19)
at RequestHandler.push (C:\Users\test\Desktop\osu-ahr-master\node_modules\discord.js\src\rest\RequestHandler.js:50:25)
at processTicksAndRejections (internal/process/task_queues.js:95:5)
at async WebSocketManager.connect (C:\Users\test\Desktop\osu-ahr-master\node_modules\discord.js\src\client\websocket\WebSocketManager.js:128:9)
at async Client.login (C:\Users\test\Desktop\osu-ahr-master\node_modules\discord.js\src\client\Client.js:245:7)
at async DiscordBot.start (C:\Users\test\Desktop\osu-ahr-master\src\discord\DiscordBot.ts:88:7) {
code: 500,
method: 'get',
path: '/gateway/bot',
requestData: { json: undefined, files: [] }
Is there something I need to do with the OAuth2?
from osu-ahr.
Discord.js (The library I used to access discord) requires Node 16.6 or higher.
Try using the latest version of nodejs.
https://discordjs.guide/additional-info/changes-in-v13.html#before-you-start
v13 requires Node 16.6 or higher to use, so make sure you're up to date. To check your Node version, use node -v in your terminal or command prompt, and if it's not high enough, update it! There are many resources online to help you with this step based on your host system.
from osu-ahr.
Related Issues (20)
- Discord BOT HOT 2
- SyntaxError: Unexpected token , in JSON at position 145 HOT 3
- DISCORD BOT not responding to commands HOT 2
- discord token != empty HOT 2
- DM spamming HOT 3
- is it possible? If so, how? HOT 4
- reason? HOT 2
- Suggestion: Blacklist Maps Function
- I cant get the thing to start. HOT 3
- Help HOT 1
- please help what is an irc password? HOT 11
- when i start the git bash the console throw me this please help HOT 2
- Can't start the bot HOT 1
- hostkick_tolerance kinda unusable
- Add Chat Gpt Support
- Command HOT 1
- Disable LobbyTerminator HOT 1
- discord: use channel ids instead of creating channels
- Cannot parse config file: 'C:\Users\jaide\osu-ahr\config\local.json': SyntaxError: Unexpected token k in JSON at position 173 HOT 1
- The lobby closes all the time HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from osu-ahr.