Skip to content

Commit 06a1921

Browse files
committed
Add missing _setup call in Bot
1 parent 76d25ba commit 06a1921

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

twitchio/ext/commands/bot.py

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -262,8 +262,7 @@ async def login(self, *, token: str | None = None, load_tokens: bool = True, sav
262262
else:
263263
self._owner = user
264264

265-
await self.setup_hook()
266-
self._setup_called = True
265+
await self._setup()
267266

268267
async def close(self, **options: Any) -> None:
269268
for module in tuple(self.__modules):

0 commit comments

Comments
 (0)