예제 #1
0
파일: Mod.py 프로젝트: alisenai/Alien-Bot
 async def error_cool_down(self, message, command):
     seconds_left = command.cool_down_seconds - (
         time.time() - command.last_called(message.author.id))
     time_left_text = Utils.seconds_format(seconds_left)
     await Utils.simple_embed_reply(
         message.channel, str(message.author), "You can call " +
         command.name + " again in " + time_left_text + ".",
         self.embed_color)