This commit is contained in:
Milka64 2023-12-29 14:00:02 +01:00
parent d913af4378
commit f2b6638616
3 changed files with 3 additions and 3 deletions

View file

@ -6,7 +6,7 @@ stages:
variables: variables:
GL_TOKEN: $GL_TOKEN GL_TOKEN: $GL_TOKEN
VERSION: '0.2.7' VERSION: '0.2.8'
deploy: deploy:
stage: deploy stage: deploy

View file

@ -302,7 +302,7 @@ class Texte(commands.Cog):
for member in members: for member in members:
if member.nick.lower() == wordi.lower()[1:]: if member.nick.lower() == wordi.lower()[1:]:
sentence = sentence.replace(word, member.mention) sentence = sentence.replace(word, member.mention)
ctx.message = sentence ctx.message.content = sentence
await cmd.invoke(ctx) await cmd.invoke(ctx)
else: else:
for word in sentence.split(): for word in sentence.split():

View file

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