From 535975e41c8b1dd43c8ec5a92138a9e7c238a07b Mon Sep 17 00:00:00 2001 From: Wyn Date: Thu, 3 May 2018 22:20:20 -0400 Subject: [PATCH] Update pingtime.py Unused import, remove pass context --- pingtime/pingtime.py | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/pingtime/pingtime.py b/pingtime/pingtime.py index 0b1ad45..07d4237 100644 --- a/pingtime/pingtime.py +++ b/pingtime/pingtime.py @@ -1,5 +1,4 @@ from discord.ext import commands -import time class Pingtime: @@ -7,7 +6,7 @@ class Pingtime: def __init__(self, bot): self.bot = bot - @commands.command(pass_context=True) + @commands.command() async def pingtime(self, ctx): """Ping pong.""" latencies = self.bot.latencies