[GH-ISSUE #1005] i need Help (discord bot) #714

Closed
opened 2026-02-27 15:51:32 +03:00 by kerem · 4 comments
Owner

Originally created by @Disrespectfish on GitHub (Aug 13, 2021).
Original GitHub issue: https://github.com/quasar/Quasar/issues/1005

this is the error
/home/runner/JavaScript-2/node_modules/discord.js/src/rest/RESTManager.js:32
const token = this.client.token ?? this.client.accessToken;
^

SyntaxError: Unexpected token '?'

this is the link to the script https://replit.com/@Disrespectfish/JavaScript-2#index.js

the Token form the discord bot: ODc1NjM5Mzc3NzM5NTMwMjUw.YRYcuA.5pojdsIdGqdEN-G1vONmSVQ_B_c

Originally created by @Disrespectfish on GitHub (Aug 13, 2021). Original GitHub issue: https://github.com/quasar/Quasar/issues/1005 this is the error /home/runner/JavaScript-2/node_modules/discord.js/src/rest/RESTManager.js:32 const token = this.client.token ?? this.client.accessToken; ^ SyntaxError: Unexpected token '?' this is the link to the script https://replit.com/@Disrespectfish/JavaScript-2#index.js the Token form the discord bot: ODc1NjM5Mzc3NzM5NTMwMjUw.YRYcuA.5pojdsIdGqdEN-G1vONmSVQ_B_c
kerem 2026-02-27 15:51:32 +03:00
  • closed this issue
  • added the
    invalid
    label
Author
Owner

@priyansh32 commented on GitHub (Aug 13, 2021):

Hey @Disrespectfish I guess You should not share your Token, It is private key used to communicate with your bot. Reset your Token to avoid anything unexpected.

<!-- gh-comment-id:898691090 --> @priyansh32 commented on GitHub (Aug 13, 2021): Hey @Disrespectfish I guess You should not share your Token, It is private key used to communicate with your bot. Reset your Token to avoid anything unexpected.
Author
Owner

@BurntDog commented on GitHub (Aug 13, 2021):

@Disrespectfish You're in the wrong place. This Github Repository is for "Quasar" not a Discord Bot...

<!-- gh-comment-id:898706200 --> @BurntDog commented on GitHub (Aug 13, 2021): @Disrespectfish You're in the wrong place. This Github Repository is for "Quasar" not a Discord Bot...
Author
Owner

@Disrespectfish commented on GitHub (Aug 14, 2021):

Ups wrong place thanks thanks @BurntDog

And this is a token from my test bot @priyansh32

<!-- gh-comment-id:898866634 --> @Disrespectfish commented on GitHub (Aug 14, 2021): Ups wrong place thanks thanks @BurntDog And this is a token from my test bot @priyansh32
Author
Owner

@D4RKH0R1Z0N commented on GitHub (Aug 17, 2021):

What the hell...
This is not a discord bot repo to report you are in the wrong place

<!-- gh-comment-id:900365170 --> @D4RKH0R1Z0N commented on GitHub (Aug 17, 2021): What the hell... This is not a discord bot repo to report you are in the wrong place
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/Quasar#714
No description provided.