Skip to content

Commit

Permalink
one # type: ignore down, 5631 to go
Browse files Browse the repository at this point in the history
  • Loading branch information
shiftinv committed Sep 22, 2023
1 parent ca5911c commit 3687312
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions disnake/ext/commands/common_bot_base.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,11 +111,12 @@ async def close(self) -> None:
async def login(self, token: str) -> None:
await super().login(token=token) # type: ignore

loop: asyncio.AbstractEventLoop = self.loop # type: ignore
if self.reload:
self.loop.create_task(self._watchdog()) # type: ignore
loop.create_task(self._watchdog())

# prefetch
self.loop.create_task(self._fill_owners()) # type: ignore
loop.create_task(self._fill_owners())

async def is_owner(self, user: Union[disnake.User, disnake.Member]) -> bool:
"""|coro|
Expand Down

0 comments on commit 3687312

Please sign in to comment.