package nl.voidcorp.dbot import com.google.gson.Gson import com.google.gson.GsonBuilder import java.util.* val gson: Gson = GsonBuilder().setPrettyPrinting().create() val random = Random() fun MutableList.addAll(vararg e: E) = this.addAll(listOf(*e)) fun List.random(): E = this[random.nextInt(this.size)]