/Twilight-old

Twilight is a discord bot that I'm making just to learn discord.js

Primary LanguageJavaScriptMIT LicenseMIT

GitHub release Open in Visual Studio Code

Disaccord

Getting started

Rename /.secrets-example.json to /.secrets.json. Fill in this information in the /.secrets.json file. (most information is required to run the bot)

{
    "token": "TOKEN",
    "clientSecret": "CLIENT_SECRET",
    "intents": ["INTENT"],
    "port": 3000,
    "redeploy": true,
    "prefix": "",
    "developer": ["DEVELOPER_ID"],
    "supportServer":"SUPPORT_SERVER_ID",
    "statusInterval": 350000,
    "description": "",
    "repository": "USER_NAME/REPOSITORY_NAME",
    "version": "3.1.0"
}
  • token: String The bots login token (Generated from the discord developer portal).
  • clientSecret: String The bots client secret (Generated from the discord developer portal).
  • intents: Array The bots intents.
  • port: Integer The port number your bots app will listen at (defaults 80, 443).
  • reDeploy: Boolean Weather or not to reregister the slash commands.
  • prefix: String The prefix used to execute commands.
  • developer: Array The developers of the bot.
  • supportServer: String The ID of the support server.
  • statusInterval: Number The interval to cycle to the next value in the status array.
  • description: String The description of the bot.
  • repository: String The GitHub repository of the bot.
  • version: String The version of your bot.

Requirements


Template by aroary Maintained By AbyssDweller

If you are aroary and you want me to take this down just tell me.

MIT License | Copyright Ⓒ 2022 aroary

Other documentation pages

back to top