From 228723a1a4514197b0529ec388a62e6770c1f410 Mon Sep 17 00:00:00 2001 From: BFlow Date: Sat, 25 Apr 2020 20:23:44 +0200 Subject: [PATCH] =?UTF-8?q?test=20n=C2=B05=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 9d33484..c6cf60b 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 = sentence.replace(word, member.mention) + sentence = sentence.replace(word, member.id) channel = [x for x in self.bot.get_all_channels() if x.name == "général"][0] await channel.send(sentence)