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",
|
"audioop",
|
||||||
"automerge",
|
"automerge",
|
||||||
"buildx",
|
"buildx",
|
||||||
|
"CLAHE",
|
||||||
|
"Denoise",
|
||||||
"denoising",
|
"denoising",
|
||||||
"docstrings",
|
"docstrings",
|
||||||
"dotenv",
|
"dotenv",
|
||||||
|
|
@ -15,6 +17,7 @@
|
||||||
"imdecode",
|
"imdecode",
|
||||||
"imencode",
|
"imencode",
|
||||||
"IMREAD",
|
"IMREAD",
|
||||||
|
"IMWRITE",
|
||||||
"isort",
|
"isort",
|
||||||
"killyoy",
|
"killyoy",
|
||||||
"levelname",
|
"levelname",
|
||||||
|
|
@ -36,4 +39,4 @@
|
||||||
"tobytes",
|
"tobytes",
|
||||||
"unsignedinteger"
|
"unsignedinteger"
|
||||||
]
|
]
|
||||||
}
|
}
|
||||||
2
main.py
2
main.py
|
|
@ -46,7 +46,7 @@ class LoviBotClient(discord.Client):
|
||||||
self.tree = app_commands.CommandTree(self)
|
self.tree = app_commands.CommandTree(self)
|
||||||
|
|
||||||
async def setup_hook(self) -> None:
|
async def setup_hook(self) -> None:
|
||||||
"""Sync commands globaly."""
|
"""Sync commands globally."""
|
||||||
await self.tree.sync()
|
await self.tree.sync()
|
||||||
|
|
||||||
async def on_ready(self) -> None:
|
async def on_ready(self) -> None:
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue