🚀
Discord JS Bot
  • 🤖About Me
  • 📘Commands
    • ⚙️Admin
    • 🔞Anime
    • 🪙Economy
    • 😂Fun
    • 🎉Giveaways
    • 🖼️Image
    • 🪧Information
    • 📨Invites
    • 🔨Moderation
    • 🎵Music
    • 🔏Owner
    • 🧑Social
    • 📈Stats
    • 🛠️Utility
  • 🗒️Contexts
  • Additional
    • ✍️Guides
    • ❓FAQ
Powered by GitBook
On this page
  • Setting up Slash Commands
  • Setting up Dashboard
  1. Additional

Guides

PreviousContextsNextFAQ

Last updated 2 years ago

Setting up Slash Commands

  • Slash commands are disabled by default

  • In the config.js set SLASH = true and CONTEXT = true and replace TEST_GUILD_ID with the guild ID where you want to initially test the commands. This will ensure that all the commands are registered immediately

  • Once you are happy with the commands, set GLOBAL = true to register these interactions globally

Global slash commands can take upto 1 hour to be shown across all guilds

Setting up Dashboard

  • In the config.js, make sure you set dashboard enabled to true

  • Add your baseURL, http://localhost:8080/api/callback in your application OAuth2 redirects page in the

  DASHBOARD: {
    enabled: true, // enable or disable dashboard
    baseURL: "http://localhost:8080", // base url
    failureURL: "http://localhost:8080", // failure redirect url
    port: "8080", // port to run the bot on
  },
✍️
discord developer portal