diff --git a/kabot/kabot/kabot.py b/kabot/kabot/kabot.py index bb60767..d1cb664 100644 --- a/kabot/kabot/kabot.py +++ b/kabot/kabot/kabot.py @@ -417,6 +417,22 @@ class Mybot(commands.Cog): sentence = sentence.replace(word, member.mention) await channel.send(sentence) + @commands.command(help='Who the fuck am i?') + async def schizo(self, ctx, name=None): + list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther"] + if not name: + name = random.choice(list_name) + if name in list_name: + if name: + await self.bot.user.edit(username=name) + else: + name = "404" + await self.bot.user.edit(username="Error 404 name not found!") + await ctx.channel.send("Liste des noms = %s" % list_name) + img = here + "/ressources/avatar_bot/%s.jpg" % name + await self.bot.user.edit(avatar=img) + await self.joke(ctx, name) + @commands.command(help='slap this ass') async def slap(self, ctx, user=None): slap_multiple = [