From 3aeefefd32ad70cc69b25fedf44bdd6cb02ab015 Mon Sep 17 00:00:00 2001 From: limited_dev Date: Wed, 28 Jun 2023 22:43:08 +0200 Subject: [PATCH] feat: added TimePlanningMessagesData Signed-off-by: limited_dev --- .../data/entry/TimePlanningMessagesData.kt | 26 +++++++++++++++++++ 1 file changed, 26 insertions(+) create mode 100644 src/main/kotlin/net/moonleay/lilJudd/data/entry/TimePlanningMessagesData.kt diff --git a/src/main/kotlin/net/moonleay/lilJudd/data/entry/TimePlanningMessagesData.kt b/src/main/kotlin/net/moonleay/lilJudd/data/entry/TimePlanningMessagesData.kt new file mode 100644 index 0000000..3da4ba8 --- /dev/null +++ b/src/main/kotlin/net/moonleay/lilJudd/data/entry/TimePlanningMessagesData.kt @@ -0,0 +1,26 @@ +/* + * 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.data.entry + +data class TimePlanningMessagesData( + val serverid: String, // The discord server id + val channelid: String, // The discord channel id + val weekstamp: String, // The timestamp of the monday of the week at 4am UTC + val messageids: String // IDs are in the following format: "{weekdayNr}:{id};{weekdayNr}:{id};[etc.]" +)