aboutsummaryrefslogtreecommitdiff
path: root/code/cogs/tree_sync.py
diff options
context:
space:
mode:
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")