from mod_commands import BaseCommand 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