예제 #1
0
 async def resetPoke(self):
     """
     Task that resets Poke
     """
     if int(time.time()) - int(poke.get()[1]) > 259200:
         await self.client.get_guild(int(self.client.constants.CallOfCode))\
             .get_channel(int(self.client.constants.DidierPosting))\
             .send("Poke is gereset door inactiviteit. <@!{}> is hem!".format(int(poke.reset())))
예제 #2
0
파일: poke.py 프로젝트: stijndcl/didier
 async def reset(self, ctx):
     new = poke.reset()
     await ctx.send("Poke is gereset. <@!{}> is hem!".format(str(new)))