diff --git a/cogs/utility.py b/cogs/utility.py index 25324bb..5a0859a 100755 --- a/cogs/utility.py +++ b/cogs/utility.py @@ -196,20 +196,6 @@ class Utility(commands.Cog): """---------------------------------------------------------------------""" - @commands.command(name='hastebin', pass_context=True) - async def _hastebin(self, ctx, *, data): - """Poster sur Hastebin.""" - await ctx.message.delete() - - post = requests.post("https://hastebin.com/documents", data=data) - - try: - await ctx.send(f"{ctx.author.mention} message posté avec succès sur :\nhttps://hastebin.com/{post.json()['key']}.txt") - except json.JSONDecodeError: - await ctx.send("Impossible de poster ce message. L'API doit être HS.") - - """---------------------------------------------------------------------""" - @commands.command(name='iplocalise', pass_context=True) async def _iplocalise(self, ctx, ipaddress): """Recup headers.""" diff --git a/texts/help.md b/texts/help.md index ec6a86a..af4a900 100755 --- a/texts/help.md +++ b/texts/help.md @@ -6,7 +6,6 @@ -> .search _site_ _contenu_ : Fait une recherche sur un site (.search pour plus d'infos) -> .avatar _@pseudo_ : Récupère l'avatar de _@pseudo_ -> .poke _@pseudo_ : Poke _@pseudo_ --> .hastebin _code_ : Poste du code sur hastebin -> .sondage _question_ | _reponse_ | _reponse_ | _option_ : Créer un sondage avec des réactions -> .sondage : Affiche l'aide pour la commande sondage -> .role _nomdurole_ : Ajoute/Retire le rôle en question