From cd4e881e607294a086ca213f7acb226eaef7fa64 Mon Sep 17 00:00:00 2001 From: limited_dev Date: Wed, 12 Jul 2023 13:19:28 +0200 Subject: [PATCH] feat: added MatchTypes enum Signed-off-by: limited_dev --- .../extensions/component/MatchTypes.kt | 29 +++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 src/main/kotlin/net/moonleay/lilJudd/extensions/component/MatchTypes.kt diff --git a/src/main/kotlin/net/moonleay/lilJudd/extensions/component/MatchTypes.kt b/src/main/kotlin/net/moonleay/lilJudd/extensions/component/MatchTypes.kt new file mode 100644 index 0000000..3cde91b --- /dev/null +++ b/src/main/kotlin/net/moonleay/lilJudd/extensions/component/MatchTypes.kt @@ -0,0 +1,29 @@ +/* + * lilJudd + * Copyright (C) 2023 moonleay + * + * 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 + * the Free Software Foundation, either version 3 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program. If not, see . + */ + +package net.moonleay.lilJudd.extensions.component + +import com.kotlindiscord.kord.extensions.commands.application.slash.converters.ChoiceEnum + +enum class MatchTypes(override val readableName: String) : ChoiceEnum { + TOURNEY("Tourney Match"), + LADDER("Ladder Match"), + SCRIM("Scrim"), + LAN("LAN Match"), + OPEN("Anarchy Open"); +}