command / me.schlaubi.regnumutils.common.jda / net.dv8tion.jda.api.JDA / applyGame

applyGame

fun JDA.applyGame(game: Game, transform: (String) -> String = { it }): Unit

Applies a GameAnimator.Game to a a jda presence

Parameters

transform - a function that converts the games content if there are placeholders init

See Also

net.dv8tion.jda.api.managers.Presence