From 4d479f651689068fc39183710899f7a89fc9e6c2 Mon Sep 17 00:00:00 2001
From: Romain J <romain@gnous.eu>
Date: Mon, 6 Apr 2020 20:43:59 +0200
Subject: [PATCH] update(rewrite): prepare commands to rewrite
---
cogs/ci.py | 2 +-
cogs/sondage.py | 1 +
2 files changed, 2 insertions(+), 1 deletion(-)
diff --git a/cogs/ci.py b/cogs/ci.py
index 17a14d1..f0aa8f2 100755
--- a/cogs/ci.py
+++ b/cogs/ci.py
@@ -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:
diff --git a/cogs/sondage.py b/cogs/sondage.py
index d113419..d2c803b 100755
--- a/cogs/sondage.py
+++ b/cogs/sondage.py
@@ -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()