command schizo
This commit is contained in:
parent
fbba7aae52
commit
cb007a7126
1 changed files with 5 additions and 0 deletions
|
@ -420,6 +420,11 @@ class Mybot(commands.Cog):
|
||||||
@commands.command(help='Who the fuck am i?')
|
@commands.command(help='Who the fuck am i?')
|
||||||
async def schizo(self, ctx, name=None):
|
async def schizo(self, ctx, name=None):
|
||||||
list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther"]
|
list_name = ["Kabot", "Gaspard et Balthazar", "Bender", "Zoidberg", "Gunther"]
|
||||||
|
try:
|
||||||
|
current_name = self.bot.user.name
|
||||||
|
list_name.remove(current_name)
|
||||||
|
except:
|
||||||
|
pass
|
||||||
if not name:
|
if not name:
|
||||||
name = random.choice(list_name)
|
name = random.choice(list_name)
|
||||||
if name in list_name:
|
if name in list_name:
|
||||||
|
|
Loading…
Reference in a new issue