From d92d0e48bff845b03f1ede7b41ac2048a93e15de Mon Sep 17 00:00:00 2001 From: TanyaPegasus Date: Fri, 18 Aug 2023 20:35:53 +1000 Subject: [PATCH] Add timestamp to stats message --- dictator/cogs/stats.py | 1 + 1 file changed, 1 insertion(+) diff --git a/dictator/cogs/stats.py b/dictator/cogs/stats.py index f937eae..a18bb8b 100644 --- a/dictator/cogs/stats.py +++ b/dictator/cogs/stats.py @@ -52,6 +52,7 @@ async def prepare_stats(self) -> bool: async def update_stats(self) -> None: server_info, families, family_count = await self.get_server_stats() embed = discord.Embed(title="Stats", colour=0xFFBB35) + embed.timestamp = discord.utils.utcnow() embed.add_field(name="Players", value=server_info[2]) embed.add_field(name=f"Families", value=f"{family_count} total\n{families}", inline=False) embed.set_footer(