update(rewrite): prepare commands to rewrite
This commit is contained in:
parent
afe76d00c1
commit
4d479f6516
2 changed files with 2 additions and 1 deletions
|
@ -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="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="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="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}.")
|
embed.set_footer(text=f"Enregistré dans le bureau {result[5]} le {formated_cidate}.")
|
||||||
await ctx.send(embed=embed)
|
await ctx.send(embed=embed)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
|
|
|
@ -85,6 +85,7 @@ class Sondage(commands.Cog):
|
||||||
end_msg += "\n\"{}\" est le gagnant!".format(top_result)
|
end_msg += "\n\"{}\" est le gagnant!".format(top_result)
|
||||||
await ctx.send(end_msg)
|
await ctx.send(end_msg)
|
||||||
else:
|
else:
|
||||||
|
await ctx.send("please use `@tuxbot poll` (this is rewrite version in beta")
|
||||||
await ctx.message.delete()
|
await ctx.message.delete()
|
||||||
|
|
||||||
text = open('texts/rpoll.md').read()
|
text = open('texts/rpoll.md').read()
|
||||||
|
|
Loading…
Reference in a new issue