update(rewrite): prepare commands to rewrite

This commit is contained in:
Romain J 2020-04-06 20:43:59 +02:00
parent afe76d00c1
commit 4d479f6516
2 changed files with 2 additions and 1 deletions

View file

@ -88,7 +88,7 @@ class Identity(commands.Cog):
embed.add_field(name="Configuration Système : ", value=isexist(result[7]), inline=True)
embed.add_field(name="Date de naissance sur discord : ", value=formated_user_birth, inline=True)
embed.add_field(name="Pays : ", value=isexist(result[8]), inline=True)
embed.add_field(name="Profil sur le web : ", value=f"https://tuxbot.gnous.eu/users/{result[9]}", inline=True)
embed.add_field(name="Profil sur le web : ", value="*indisponible*") # value=f"https://tuxbot.gnous.eu/users/{result[9]}", inline=True)
embed.set_footer(text=f"Enregistré dans le bureau {result[5]} le {formated_cidate}.")
await ctx.send(embed=embed)
except Exception as e:

View file

@ -85,6 +85,7 @@ class Sondage(commands.Cog):
end_msg += "\n\"{}\" est le gagnant!".format(top_result)
await ctx.send(end_msg)
else:
await ctx.send("please use `@tuxbot poll` (this is rewrite version in beta")
await ctx.message.delete()
text = open('texts/rpoll.md').read()