getGuildApplicationCommandOf
inline suspend fun <T : GuildApplicationCommand> EntitySupplier.getGuildApplicationCommandOf(applicationId: Snowflake, guildId: Snowflake, id: Snowflake): T(source)
Requests the GuildApplicationCommand with the given id as type T.
Throws
if something went wrong while retrieving the guild application.
if the guild application is null.
if the returned GuildApplication is not of type T.