aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/cogs/defcon.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/bot/cogs/defcon.py b/bot/cogs/defcon.py
index def9a70e3..4c043f050 100644
--- a/bot/cogs/defcon.py
+++ b/bot/cogs/defcon.py
@@ -265,8 +265,8 @@ class Defcon:
"""
if self.enabled:
- day_str = "days" if self.days > 1 else "day"
- new_topic = f"{BASE_CHANNEL_TOPIC}\n(Status: Enabled, Threshold: {self.days} {day_str})"
+ day_str = "days" if self.days.days > 1 else "day"
+ new_topic = f"{BASE_CHANNEL_TOPIC}\n(Status: Enabled, Threshold: {self.days.days} {day_str})"
else:
new_topic = f"{BASE_CHANNEL_TOPIC}\n(Status: Disabled)"