Esempio n. 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())))
Esempio n. 2
0
 async def reset(self, ctx):
     new = poke.reset()
     await ctx.send("Poke is gereset. <@!{}> is hem!".format(str(new)))