GCommands
GCommands Legacy
Documentation open in new window
GitHub open in new window
GCommands Legacy
Documentation open in new window
GitHub open in new window
      • Theme

    Home

    • Introduction
    • Requesting more content
    • What's new

    Getting started

    • Installing Node.js and GCommands
    • Making a basic bot

    Commands

    • Getting started
    • Creating your first command
    • Using arguments in commands
    • Using subcommands
    • Using the command builders
    • Additional Features

    Interactions

    • Context Menus

    Events

    • Setup
    • Creating a event
    • Using the event builder
    • More Events

    Components

    • Setup
    • Creating a component

    Database

    • Setup
    • Guild Prefix
    • Guild Language

    Other

    • Using a custom language file
    • Inhibitor
    • Mentions
    • The alwaysObtain option in commands

    Common questions

    • What are all the objects in the first argument of a command?
    • I keep getting the error .guild is not defined
    • I keep getting the error 403 Missing Access

    Additionals

    • Updating from v7 to v8
    • Updating from v6 to v7
    • Updating from v5 to v6
    • Updating from v4 to v5
    • Updating from v3 to v4
    • Updating from v2 to v3

# I keep getting the error 403 Missing Access

If you want a guild-only command, you need to put the correct guildId in the command and invite the application.commands bot to the server. If you don't do that, you will get this error.

For global commands the same thing, only you won't get the error.

Edit this page open in new window
Last Updated: 10/2/2022, 10:35:07 AM

← I keep getting the error .guild is not defined