add more None un kron
This commit is contained in:
parent
8cca3c1990
commit
6504c286da
3 changed files with 3 additions and 3 deletions
|
@ -6,7 +6,7 @@ stages:
|
|||
|
||||
variables:
|
||||
GL_TOKEN: $GL_TOKEN
|
||||
VERSION: '0.2.16'
|
||||
VERSION: '0.2.17'
|
||||
|
||||
deploy:
|
||||
stage: deploy
|
||||
|
|
|
@ -318,7 +318,7 @@ class Texte(commands.Cog):
|
|||
|
||||
@tasks.loop(seconds=3600)
|
||||
async def kron(self):
|
||||
kron_choice = random.choice([self.kaamelott, self.slap, self.kamoulox, self.contrepeterie, self.schizo, None, None, None, None, None, None])
|
||||
kron_choice = random.choice([self.kaamelott, self.slap, self.kamoulox, self.contrepeterie, self.schizo, None, None, None, None, None, None, None,None,None,None,None,None,None])
|
||||
if kron_choice != None:
|
||||
await asyncio.sleep(random.choice(range(3550)))
|
||||
for channel in self.bot.get_all_channels():
|
||||
|
|
|
@ -61,6 +61,6 @@ setup(
|
|||
test_suite='tests',
|
||||
tests_require=test_requirements,
|
||||
url='https://github.com/None/kabot',
|
||||
version='0.2.16',
|
||||
version='0.2.17',
|
||||
zip_safe=False,
|
||||
)
|
||||
|
|
Loading…
Reference in a new issue