WIP #32
This commit is contained in:
parent
d913af4378
commit
f2b6638616
3 changed files with 3 additions and 3 deletions
|
@ -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
|
||||||
|
|
|
@ -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():
|
||||||
|
|
|
@ -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,
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue