command schizo
fix avatar bot
This commit is contained in:
parent
e4a3e88511
commit
fbba7aae52
1 changed files with 1 additions and 1 deletions
|
@ -430,7 +430,7 @@ class Mybot(commands.Cog):
|
||||||
await self.bot.user.edit(username="Error 404 name not found!")
|
await self.bot.user.edit(username="Error 404 name not found!")
|
||||||
await ctx.channel.send("Liste des noms = %s" % list_name)
|
await ctx.channel.send("Liste des noms = %s" % list_name)
|
||||||
img = open(here + "/ressources/avatar_bot/%s.jpg" % name, 'rb')
|
img = open(here + "/ressources/avatar_bot/%s.jpg" % name, 'rb')
|
||||||
await self.bot.user.edit(avatar=img)
|
await self.bot.user.edit(avatar=img.read())
|
||||||
await self.joke(ctx, name)
|
await self.joke(ctx, name)
|
||||||
|
|
||||||
@commands.command(help='slap this ass')
|
@commands.command(help='slap this ass')
|
||||||
|
|
Loading…
Reference in a new issue