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 .guild is not defined

GCommands (and discord.js) requires you to have the GUILD_MEMBERS and PRESENCEopen in new window intents enabled in your bot.

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

← What are all the objects in the first argument of a command? I keep getting the error 403 Missing Access →