command schizo

This commit is contained in:
BFlow 2021-05-04 22:34:32 +02:00
parent fbba7aae52
commit cb007a7126

View file

@ -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: