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)