mod-ping/__init__.py

10 lines
218 B
Python
Raw Permalink Normal View History

2020-04-27 18:41:16 +02:00
from mod_commands import BaseCommand
2020-04-27 18:00:15 +02:00
2020-04-27 18:41:16 +02:00
class Ping(BaseCommand):
async def command(self, message, args, kwargs):
await message.channel.send(f"Pong {round(self.client.latency, 3)}s!")
__main_class__ = Ping