From 71686b4cc227f22a90da33162b20a0604d142316 Mon Sep 17 00:00:00 2001 From: Dustin Pianalto Date: Mon, 11 Jun 2018 10:47:16 -0800 Subject: [PATCH] fixed layout in ping --- src/exts/utils.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/exts/utils.py b/src/exts/utils.py index 43c5ae3..4d6eace 100644 --- a/src/exts/utils.py +++ b/src/exts/utils.py @@ -186,8 +186,8 @@ class Utils: msg = await ctx.send(embed=em) time1 = ctx.message.created_at time = (msg.created_at - time1).total_seconds() * 1000 - em.description = f'''Response Time: **{math.ceil(time)}ms** - Discord Latency: **{math.ceil(self.bot.latency*1000)}ms**''' + em.description = f'Response Time: **{math.ceil(time)}ms**\n' \ + f'Discord Latency: **{math.ceil(self.bot.latency*1000)}ms**' await msg.edit(embed=em) if mode == 'comp': @@ -216,8 +216,8 @@ class Utils: time = time.total_seconds() times.append(time) value = f"Message Sent:" \ - f"{datetime.strftime(self.bot.ping_times[i]['snd'].created_at, '%H:%M:%S.%f')}" \ - f"Response Received: {datetime.strftime(now, '%H:%M:%S.%f')}" \ + f"{datetime.strftime(self.bot.ping_times[i]['snd'].created_at, '%H:%M:%S.%f')}\n" \ + f"Response Received: {datetime.strftime(now, '%H:%M:%S.%f')}\n" \ f"Total Time: {math.ceil(time * 1000)}ms" await self.bot.ping_times[i]['rec'].delete() em.add_field(name=f'Ping Test {i}', value=value, inline=True)