Limit to 3 concurrent uses

This commit is contained in:
Nexus 2023-11-14 22:39:18 +00:00
parent 95e725ae8f
commit 728a2ae3f1
Signed by: nex
GPG key ID: 0FA334385D0B689F

View file

@ -1834,7 +1834,7 @@ class OtherCog(commands.Cog):
self.stop() self.stop()
@commands.slash_command() @commands.slash_command()
@commands.max_concurrency(1, commands.BucketType.user, wait=False) @commands.max_concurrency(3, commands.BucketType.user, wait=False)
async def ollama( async def ollama(
self, self,
ctx: discord.ApplicationContext, ctx: discord.ApplicationContext,