Merge pull request #17 from Wyn10/patch-1
This commit is contained in:
@@ -1,5 +1,4 @@
|
|||||||
from discord.ext import commands
|
from discord.ext import commands
|
||||||
import time
|
|
||||||
|
|
||||||
|
|
||||||
class Pingtime:
|
class Pingtime:
|
||||||
@@ -7,7 +6,7 @@ class Pingtime:
|
|||||||
def __init__(self, bot):
|
def __init__(self, bot):
|
||||||
self.bot = bot
|
self.bot = bot
|
||||||
|
|
||||||
@commands.command(pass_context=True)
|
@commands.command()
|
||||||
async def pingtime(self, ctx):
|
async def pingtime(self, ctx):
|
||||||
"""Ping pong."""
|
"""Ping pong."""
|
||||||
latencies = self.bot.latencies
|
latencies = self.bot.latencies
|
||||||
|
|||||||
Reference in New Issue
Block a user