From 2fadbe74c04cd99b4f19bfe1897fb2886c8943fc Mon Sep 17 00:00:00 2001 From: Milka64 Date: Fri, 29 Dec 2023 15:21:57 +0100 Subject: [PATCH] WIP #32 --- .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 6684257..bb226a4 100644 --- a/.gitlab-ci.yml +++ b/.gitlab-ci.yml @@ -6,7 +6,7 @@ stages: variables: GL_TOKEN: $GL_TOKEN - VERSION: '0.2.12' + VERSION: '0.2.13' deploy: stage: deploy diff --git a/kabot/kabot/utils/texte.py b/kabot/kabot/utils/texte.py index a67bd36..e1a3da3 100644 --- a/kabot/kabot/utils/texte.py +++ b/kabot/kabot/utils/texte.py @@ -53,7 +53,7 @@ class Texte(commands.Cog): @commands.Cog.listener() async def on_ready(self): - for channel in bot.get_all_channels(): + for channel in self.bot.get_all_channels(): if channel.name == text_channel: current_chan = channel if nickname: diff --git a/kabot/setup.py b/kabot/setup.py index ad217f1..142ebf6 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.12', + version='0.2.13', zip_safe=False, )