aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/tree_sync.py
diff options
context:
space:
mode:
authorParker <contact@pkrm.dev>2025-01-19 23:41:53 -0600
committerParker <contact@pkrm.dev>2025-01-19 23:41:53 -0600
commitb5bd2e36b6597303985eb9dc897e04d452950372 (patch)
tree697e269911c752ce8c196c7be486df5b5871b85a /code/cogs/tree_sync.py
parent86b12da175593f91cb5e3266826a60d1b26f6144 (diff)
Overhaul + Sonarr support!
Diffstat (limited to 'code/cogs/tree_sync.py')
-rw-r--r--code/cogs/tree_sync.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/code/cogs/tree_sync.py b/code/cogs/tree_sync.py
index 5050730..b84766e 100644
--- a/code/cogs/tree_sync.py
+++ b/code/cogs/tree_sync.py
@@ -9,7 +9,9 @@ class TreeSync(commands.Cog):
@commands.command()
@commands.dm_only()
@commands.is_owner()
- async def sync(self, ctx: commands.Context, *, guild: Object = None) -> None:
+ async def sync(
+ self, ctx: commands.Context, *, guild: Object = None
+ ) -> None:
if not guild or guild == None:
await self.bot.tree.sync()
await ctx.author.send("Synced commands globally")