aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--bot/exts/evergreen/pfp_modify.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/bot/exts/evergreen/pfp_modify.py b/bot/exts/evergreen/pfp_modify.py
index f356d2f6..4245432e 100644
--- a/bot/exts/evergreen/pfp_modify.py
+++ b/bot/exts/evergreen/pfp_modify.py
@@ -29,6 +29,7 @@ _EXECUTOR = ThreadPoolExecutor(10)
async def in_thread(func: t.Callable, *args) -> asyncio.Future:
"""Allows non-async functions to work in async functions."""
+ log.trace(f"Running {func.__name__} in an executor.")
loop = asyncio.get_event_loop()
return await loop.run_in_executor(_EXECUTOR, func, *args)
@@ -138,7 +139,6 @@ class PfpModify(commands.Cog):
await ctx.send(file=file, embed=embed)
@commands.max_concurrency(1, commands.BucketType.guild, wait=True)
- @commands.group()
async def pfp_modify(self, ctx: commands.Context) -> None:
"""Groups all of the pfp modifing commands to allow a single concurrency limit."""
if not ctx.invoked_subcommand: