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