From 092276fb34888afb2a6c807c86a622b149e90d48 Mon Sep 17 00:00:00 2001 From: Paillat Date: Mon, 6 Feb 2023 11:16:49 +0100 Subject: [PATCH] Update main.py --- main.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/main.py b/main.py index 83c7b4a..9fb56e8 100644 --- a/main.py +++ b/main.py @@ -47,7 +47,6 @@ async def get_ln(ctx: discord.AutocompleteContext): #command wprks only in dm and only for user 707196665668436019 @commands.is_owner() async def private_present(ctx: discord.ApplicationContext, subject: str, style: str = "default", language: str = "english", indications: str = ""): - await ctx.defer() await present(ctx, subject, style, language, indications) @@ -63,6 +62,10 @@ async def private_present(ctx: discord.ApplicationContext, subject: str, style: #@commands.cooldown(1, int(cooldown), commands.BucketType.user) @commands.cooldown(1, int(cooldown), commands.BucketType.guild) +async def normal_present(ctx: discord.ApplicationContext, subject: str, style: str = "default", language: str = "english", indications: str = ""): + await present(ctx, subject, style, language, indications) + + async def present(ctx: discord.ApplicationContext, subject: str, style: str = "default", language: str = "english", indications: str = ""): await ctx.defer() date = datetime.datetime.now()