tock / ai.tock.bot.engine.event / GetAppRolesEvent

GetAppRolesEvent

class GetAppRolesEvent : Event (source)

To get applications roles.

Constructors

<init>

To get applications roles.

GetAppRolesEvent(recipientId: PlayerId, applicationId: String, appRoles: Map<String, Set<AppRole>>)

Properties

appRoles

appId -> list of roles

val appRoles: Map<String, Set<AppRole>>

recipientId

The bot id.

val recipientId: PlayerId

Functions

toString

fun toString(): String