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

get

fun get(key: Long): Message?

Overrides MessageCache.get

Gets a message from the cache.

Parameters

key - the id of the message

Return
the message or null if there was no message cached