getApplicationCommands

Returns the application commands currently pushed in the specified guild's scope.

If a guild is specified, the global commands will not be included, use getEffectiveApplicationCommands instead.

Parameters

guild

The guild from which to get the commands, can be null for global commands

See also