Fix typo in setup_hook docstring
This commit is contained in:
parent
d4d2bab6d9
commit
158c88c57e
2 changed files with 5 additions and 2 deletions
5
.vscode/settings.json
vendored
5
.vscode/settings.json
vendored
|
|
@ -5,6 +5,8 @@
|
|||
"audioop",
|
||||
"automerge",
|
||||
"buildx",
|
||||
"CLAHE",
|
||||
"Denoise",
|
||||
"denoising",
|
||||
"docstrings",
|
||||
"dotenv",
|
||||
|
|
@ -15,6 +17,7 @@
|
|||
"imdecode",
|
||||
"imencode",
|
||||
"IMREAD",
|
||||
"IMWRITE",
|
||||
"isort",
|
||||
"killyoy",
|
||||
"levelname",
|
||||
|
|
@ -36,4 +39,4 @@
|
|||
"tobytes",
|
||||
"unsignedinteger"
|
||||
]
|
||||
}
|
||||
}
|
||||
2
main.py
2
main.py
|
|
@ -46,7 +46,7 @@ class LoviBotClient(discord.Client):
|
|||
self.tree = app_commands.CommandTree(self)
|
||||
|
||||
async def setup_hook(self) -> None:
|
||||
"""Sync commands globaly."""
|
||||
"""Sync commands globally."""
|
||||
await self.tree.sync()
|
||||
|
||||
async def on_ready(self) -> None:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue