Skip to content
← Back to Community
Question
Profile icon
lovelyleah7031

So uhm i am trying to create a new repl(discord bot). There were no errors in my coding but it kept telling me this in the console "/home/runner/Amore/node_modules/discord.js/src/rest/RESTManager.js:32
const token = this.client.token ?? this.client.accessToken;
^

SyntaxError: Unexpected token '?'". Its my first time seeing this so i am pretty confused

Voters
Profile icon
lovelyleah7031
Comments
hotnewtop
Profile icon
TommieMarshall

Get our help now and enjoy the perks of having qualified professionals take over the burden of your academic requirements. Do not let college essays limit your total college life experience! best custom essay service offers paper writing services that will surely take you through your college life with ease. Get our assistance now!

Profile icon
Reyes66

Both of these features and more are available in Discord. Here's how to build a Python bot for Discord so you can take advantage of this fantastic platform. I would like to visit https://www.proessaywriting.com/buy-coursework/website to get help in essay so that I could complete it on time.

Profile icon
CodingElf66

I suggest you look at this tutorial (https://realpython.com/how-to-make-a-discord-bot-python/), hopefully it helps!