get Effective Application Commands
abstract fun getEffectiveApplicationCommands(guild: Guild?): List<TopLevelApplicationCommandInfo>(source)
Returns the effective list of application commands this guild has access to.
This always includes global commands.
Return
The effective list of top-level commands this guild has access to
Parameters
guild
The guild in which to query the commands, can be null
for global commands.