From 25f4ac5314c3f4da7d51293400d3f786a314549b Mon Sep 17 00:00:00 2001 From: Stijn De Clercq Date: Sun, 24 Jan 2021 21:49:06 +0100 Subject: [PATCH] Disable Translate until a fix for the module is found (#16) --- cogs/translate.py | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/cogs/translate.py b/cogs/translate.py index 548a7ae..7330673 100644 --- a/cogs/translate.py +++ b/cogs/translate.py @@ -15,8 +15,8 @@ class Translate(commands.Cog): def cog_check(self, ctx): return not self.client.locked - @commands.command(name="Translate", aliases=["Tl", "Trans"], usage="[Tekst] [Van]* [Naar]*") - @help.Category(Category.Words) + # @commands.command(name="Translate", aliases=["Tl", "Trans"], usage="[Tekst] [Van]* [Naar]*") + # @help.Category(Category.Words) async def translate(self, ctx, query=None, to="nl", fr="auto"): if query is None: return await ctx.send("Controleer je argumenten.") @@ -57,8 +57,8 @@ class Translate(commands.Cog): raise e - @commands.command(name="Detect", aliases=["Ld"], usage="[Tekst]") - @help.Category(Category.Words) + # @commands.command(name="Detect", aliases=["Ld"], usage="[Tekst]") + # @help.Category(Category.Words) async def detect(self, ctx, query=None): if query is None: return await ctx.send("Controleer je argumenten.")