Skip to content
Node.js Discord Bot Template
Profile icon
almostStatic

Hello People

This is a Discord bot starter template I've been working on. Here are some features which it can provide for you:

  • Command Handling
    • Your commands will be in the commands folder.
    • Command Cool downs
    • owner only commands (will be displayed on help command)
    • guild only commands (will be displayed on help command)
    • usage (will be display on help command)
    • description (will be displayed on help command)
  • .env config file
    • prefix
    • token
You are viewing a single comment. View All
Profile icon
7Hubs

/home/runner/Removed/node_modules/discord.js/src/rest/RESTManager.js:32
const token = this.client.token ?? this.client.accessToken;
^

SyntaxError: Unexpected token '?'

Could someone please help?