mirror of
https://github.com/Paillat-dev/presentator.git
synced 2026-01-02 01:06:20 +00:00
Update main.py
This commit is contained in:
1
main.py
1
main.py
@@ -62,6 +62,7 @@ async def private_present(ctx: discord.ApplicationContext, subject: str, style:
|
|||||||
# a cooldown of duration cooldown seconds, except if the user is 707196665668436019
|
# a cooldown of duration cooldown seconds, except if the user is 707196665668436019
|
||||||
|
|
||||||
#@commands.cooldown(1, int(cooldown), commands.BucketType.user)
|
#@commands.cooldown(1, int(cooldown), commands.BucketType.user)
|
||||||
|
@commands.cooldown(1, int(cooldown), commands.BucketType.guild)
|
||||||
async def present(ctx: discord.ApplicationContext, subject: str, style: str = "default", language: str = "english", indications: str = ""):
|
async def present(ctx: discord.ApplicationContext, subject: str, style: str = "default", language: str = "english", indications: str = ""):
|
||||||
await ctx.defer()
|
await ctx.defer()
|
||||||
date = datetime.datetime.now()
|
date = datetime.datetime.now()
|
||||||
|
|||||||
Reference in New Issue
Block a user