From 92797df87304144f543cb94f2c970c5b9568b110 Mon Sep 17 00:00:00 2001 From: mctaylors Date: Wed, 6 Nov 2024 23:26:04 +0300 Subject: [PATCH] timestamp: Send formatted timestamp Signed-off-by: mctaylors --- client.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/client.py b/client.py index a58fa4d..1f696aa 100644 --- a/client.py +++ b/client.py @@ -37,17 +37,17 @@ class Client(commands.CommandsClient): if x > y: message = randrange(y, x + 1) - await ctx.send(f"**{str(message)}** `({y};{x})`") + await ctx.send(f"**{message}** `({y};{x})`") return message = randrange(x, y + 1) - await ctx.send(f"**{str(message)}** `({x};{y})`") + await ctx.send(f"**{message}** `({x};{y})`") @commands.command() async def timestamp(self, ctx: commands.Context): """Shows current timestamp""" message = trunc(time()) - await ctx.send(str(message)) + await ctx.send(f"**{message}** ") @commands.command() async def self(self, ctx: commands.Context):