From 6504c286da5c9c32a4e7de8a0419c5ba13f4b68b Mon Sep 17 00:00:00 2001 From: Milka64 Date: Tue, 2 Jan 2024 15:52:14 +0100 Subject: [PATCH] add more None un kron --- .gitlab-ci.yml | 2 +- kabot/kabot/utils/texte.py | 2 +- kabot/setup.py | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/.gitlab-ci.yml b/.gitlab-ci.yml index 4d461e2..68dc0ea 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: variables: GL_TOKEN: $GL_TOKEN - VERSION: '0.2.16' + VERSION: '0.2.17' deploy: stage: deploy diff --git a/kabot/kabot/utils/texte.py b/kabot/kabot/utils/texte.py index 61c71aa..189fc1c 100644 --- a/kabot/kabot/utils/texte.py +++ b/kabot/kabot/utils/texte.py @@ -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(): diff --git a/kabot/setup.py b/kabot/setup.py index c85932e..4f88226 100644 --- a/kabot/setup.py +++ b/kabot/setup.py @@ -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, )