onCommandSetGame

Changes the game of the current channel.

version(TwitchSupport && WithTwitchPlugin)
private
@IRCEventHandler().onEvent(IRCEvent.Type.CHAN).onEvent(IRCEvent.Type.SELFCHAN).permissionsRequired(Permissions.operator).channelPolicy(ChannelPolicy.home).fiber(true).addCommand(IRCEventHandler.Command().word("setgame").policy(PrefixPolicy.prefixed).description("Sets the channel game.").addSyntax("$command [game name]").addSyntax("$command"))
void
onCommandSetGame

See Also