Skip to content

Latest commit

 

History

History
50 lines (34 loc) · 1.97 KB

setting-up-bot.md

File metadata and controls

50 lines (34 loc) · 1.97 KB
description
Guide of how to set up bot for the first time

Setting up bot

1- Setting up config.js

Config.js is the file which gives you option to control over your bot, like enabling/disabling features, customizing preferences and more...

  1. Setting up general bot informations:
OWNER_IDS: [""],
SUPPORT_SERVER: "",

Here you can pass owner IDs (developers team members IDs) so you can access to OWNER Commands
Also you can add your support server invite URL for buttons

  1. Setting up prefix commands:
PREFIX_COMMANDS: {
  ENABLED: true, // Enable/Disable prefix commands
  DEFAULT_PREFIX: "!", // Default prefix for the bot
},

Here you can enable or disable prefix commands as you want, also you can setup the global bot prefix

  1. Setting up Slash Commands:
INTERACTIONS: {
  SLASH: false, // Should the interactions be enabled
  CONTEXT: false, // Should contexts be enabled
  GLOBAL: false, // Should the interactions be registered globally
  TEST_GUILD_ID: "", // Guild ID where the interactions should be registered. [** Test you commands here first **]
},
PropertyTypeDescription
SLASHBooleanWhether the Slash Commands are enabled or not (set it to true to enable)
CONTEXTBooleanWhether the Context Menus are enabled or not (set it to true to enable)
GLOBALBooleanWhether the Slash Commands should be globally registered or not (set it to true to enable)
TEST_GUILD_IDStringGuild ID where interactions should be registered [**here you should try your slash command for the first itme**]

{% hint style="warning" %} Global slash commands can take up to 1 hour to be shown across all guilds {% endhint %}