/**
- * Sone - Testing.kt - Copyright © 2019 David ‘Bombe’ Roden
+ * Sone - Testing.kt - Copyright © 2019–2020 David ‘Bombe’ Roden
*
* This program is free software: you can redistribute it and/or modify
* it under the terms of the GNU General Public License as published by
package net.pterodactylus.sone.web.notification
+import net.pterodactylus.util.notify.*
+import java.io.*
import java.util.concurrent.*
/** Information about a scheduled runnable. */
.also { scheduleds += Scheduled(command, delay, unit, it) }
}
+
+fun NotificationManager.firstStart() {
+ addNotification(object : AbstractNotification("first-start-notification") {
+ override fun render(writer: Writer?) = Unit
+ })
+}