BotProperties

data class BotProperties(    val raw: Properties,     val name: String?,     val description: String?,     val url: String?,     val version: String?)

A collection of custom bot properties read from a bot.properties file.

Parameters

raw

The full Properties object for additional properties.

name

The name of the bot, retrieved by "name".

description

A description of this bot, retrieved by "description".

url

The repo url of the bot, retrieved by "url".

version

The version of the bot, retrieved by "version".

Constructors

Link copied to clipboard
fun BotProperties(    raw: Properties,     name: String?,     description: String?,     url: String?,     version: String?)

Functions

Link copied to clipboard
operator fun get(key: String): String?

Get the provided property from the raw Properties value.

Properties

Link copied to clipboard
val description: String?
Link copied to clipboard
val name: String?
Link copied to clipboard
val raw: Properties
Link copied to clipboard
val url: String?
Link copied to clipboard
val version: String?