common / me.schlaubi.regnumutils.command.spi / InformationProvider

InformationProvider

interface InformationProvider

Provider for some information.

Functions

getPrefix

abstract fun getPrefix(guild: Guild): String?

The custom prefix for the guild or null if there is no custom prefix.

isOwner

abstract fun isOwner(member: Member): Boolean

Whether the member is a bot owner or not.