[+] Wacca user/status/create

This commit is contained in:
Azalea
2024-03-28 02:50:44 -04:00
parent 13f3cf1e90
commit c5d6f6f5b9
6 changed files with 68 additions and 31 deletions

View File

@@ -122,6 +122,7 @@ fun Any.long() = when (this) {
}
// Collections
fun <T> ls(vararg args: T) = args.toList()
operator fun <K, V> Map<K, V>.plus(map: Map<K, V>) =
(if (this is MutableMap) this else toMutableMap()).apply { putAll(map) }
operator fun <K, V> MutableMap<K, V>.plusAssign(map: Map<K, V>) { putAll(map) }