From 5793432802bb970281d18409819c18f76010d60c Mon Sep 17 00:00:00 2001 From: BFlow Date: Sat, 25 Apr 2020 20:20:01 +0200 Subject: [PATCH] =?UTF-8?q?test=20n=C2=B03=20command=20say?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- kabot/kabot/kabot.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index 8117061..6094ef8 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -298,7 +298,7 @@ class Mybot(commands.Cog): members = guild.members for member in members: if member.name == word: - sentence.replace(word, member) + sentence.replace(word, member.mention) channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0] await channel.send(sentence)