Fix welcome text message

This commit is contained in:
Milka64 2023-12-29 15:39:10 +01:00
parent 9a4e9b3735
commit 3cdec52d81
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ stages:
variables:
GL_TOKEN: $GL_TOKEN
VERSION: '0.2.14'
VERSION: '0.2.15'
deploy:
stage: deploy

View file

@ -54,7 +54,7 @@ class Texte(commands.Cog):
@commands.Cog.listener()
async def on_ready(self):
for channel in self.bot.get_all_channels():
if channel.name == self.text_channel:
if channel.name == self.text_chan:
current_chan = channel
if self.nickname:
await self.bot.user.edit(nick=self.nickname)

View file

@ -61,6 +61,6 @@ setup(
test_suite='tests',
tests_require=test_requirements,
url='https://github.com/None/kabot',
version='0.2.14',
version='0.2.15',
zip_safe=False,
)