command schizo
fix avatar bot
This commit is contained in:
parent
8349448540
commit
e4a3e88511
1 changed files with 1 additions and 1 deletions
|
@ -429,7 +429,7 @@ class Mybot(commands.Cog):
|
|||
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
|
||||
img = open(here + "/ressources/avatar_bot/%s.jpg" % name, 'rb')
|
||||
await self.bot.user.edit(avatar=img)
|
||||
await self.joke(ctx, name)
|
||||
|
||||
|
|
Loading…
Reference in a new issue