getGuildApplicationCommandOfOrNull
inline suspend fun <T : GuildApplicationCommand> EntitySupplier.getGuildApplicationCommandOfOrNull(applicationId: Snowflake, guildId: Snowflake, id: Snowflake): T?(source)
Requests the GuildApplicationCommand with the given id as type T, returns null if the command application isn't present or if the channel is not of type T.
Throws
if something went wrong while retrieving the application command.