command / me.schlaubi.regnumutils.common.cache / MessageCache / get

get

abstract operator fun get(key: Long): Message?

Gets a message from the cache.

Parameters

key - the id of the message

Return
the message or null if there was no message cached