add more None un kron

This commit is contained in:
Milka64 2024-01-02 15:52:14 +01:00
parent 8cca3c1990
commit 6504c286da
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ stages:
variables:
GL_TOKEN: $GL_TOKEN
VERSION: '0.2.16'
VERSION: '0.2.17'
deploy:
stage: deploy

View file

@ -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():

View file

@ -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,
)