From 6cd235b94239af420a1c162078174c695b626e25 Mon Sep 17 00:00:00 2001 From: Bruh-24 Date: Wed, 11 Mar 2026 04:50:47 +0300 Subject: [PATCH 1/2] sql is kinda fun, tbh MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 👌 --- modular_meta/features/bot_topic/code/bot_topics.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/modular_meta/features/bot_topic/code/bot_topics.dm b/modular_meta/features/bot_topic/code/bot_topics.dm index 6fccec7a992f..516601f35e4a 100644 --- a/modular_meta/features/bot_topic/code/bot_topics.dm +++ b/modular_meta/features/bot_topic/code/bot_topics.dm @@ -147,6 +147,7 @@ SELECT minutes FROM [format_table_name("role_time")] WHERE ckey = :ckey + AND job NOT IN ('Living', 'Admin' , 'Ghost') "}, list("ckey" = target_ckey)) var/total_minutes = 0 @@ -180,7 +181,7 @@ SELECT job, minutes FROM [format_table_name("role_time")] WHERE ckey = :ckey - AND job NOT IN ('Living', 'Admin') + AND job NOT IN ('Living', 'Admin' , 'Ghost') ORDER BY minutes DESC "}, list("ckey" = target_ckey)) From 8726b117dbbab8b6d0dc3c3ba31a46ee34d9f5c3 Mon Sep 17 00:00:00 2001 From: Bruh-24 Date: Wed, 11 Mar 2026 05:02:20 +0300 Subject: [PATCH 2/2] This is better --- modular_meta/features/bot_topic/code/bot_topics.dm | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modular_meta/features/bot_topic/code/bot_topics.dm b/modular_meta/features/bot_topic/code/bot_topics.dm index 516601f35e4a..ae10dff659cc 100644 --- a/modular_meta/features/bot_topic/code/bot_topics.dm +++ b/modular_meta/features/bot_topic/code/bot_topics.dm @@ -147,7 +147,7 @@ SELECT minutes FROM [format_table_name("role_time")] WHERE ckey = :ckey - AND job NOT IN ('Living', 'Admin' , 'Ghost') + AND job NOT IN ('Living') "}, list("ckey" = target_ckey)) var/total_minutes = 0 @@ -181,7 +181,7 @@ SELECT job, minutes FROM [format_table_name("role_time")] WHERE ckey = :ckey - AND job NOT IN ('Living', 'Admin' , 'Ghost') + AND job NOT IN ('Living') ORDER BY minutes DESC "}, list("ckey" = target_ckey))