command schizo
This commit is contained in:
parent
bbbb4bd21b
commit
8349448540
1 changed files with 16 additions and 0 deletions
|
@ -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 = [
|
||||
|
|
Loading…
Reference in a new issue