Package org. openredstone. chad
Types
Link copied to clipboard
data class AutomodConfig(enableBotAutomod: Boolean, automodChannelId: Long, regexes: List<String>)
Content copied to clipboard
Link copied to clipboard
data class ChadConfig(botToken: String, databaseFile: String, enableNotificationRoles: Boolean, notificationChannelId: Long, staffHelpChannelId: Long, removedContentChannelId: Long, welcomeChannelId: Long, gameChatChannelId: Long, statusChannelId: Long, serverId: Long, ingameBotRoleId: String, playingMessage: String, commandChar: Char, disableSpoilers: Boolean, notifications: List<NotificationRoleConfig>, fractalDeets: FractalConfig, authorizedDiscordRoles: List<String>, logging: LoggingConfig, botAutomod: AutomodConfig, greetings: List<String>, insults: List<String>)
Content copied to clipboard
Link copied to clipboard
data class FractalConfig(size: Int, maxIterations: Int, messiness: Int, zoom: Double)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
data class LoggingConfig(defaultLevel: String, chadLevel: String, dateTimeFormat: String)
Content copied to clipboard
Link copied to clipboard
class NotificationManager(discordApi: DiscordApi, notificationChannelId: Long, notificationRoles: List<NotificationRoleConfig>)
Content copied to clipboard
Link copied to clipboard
data class NotificationRoleConfig(name: String, role: String, description: String)
Content copied to clipboard
Link copied to clipboard
Link copied to clipboard
Functions
Link copied to clipboard
Link copied to clipboard
fun startDiscordListeners(logger: KLogger, discordApi: DiscordApi, executor: CommandExecutor, disableSpoilers: Boolean, botAutomod: Boolean, automodChannelId: Long, automodRegexes: List<String>, welcomeChannel: Long, greetings: List<String>, ingameBotRole: String, gameChatChannelId: Long, sql: Sql, coroutineScope: CoroutineScope)
Content copied to clipboard