Fixed task logging #404

This commit is contained in:
Sven Heidemann 2023-10-13 15:28:54 +02:00
parent 98ac7835b6
commit a87380f6f8

View File

@ -16,7 +16,7 @@ class TaskABC(commands.Cog):
@ServiceProviderABC.inject @ServiceProviderABC.inject
async def _wait_until_ready(self, config: ConfigurationABC, logger: TaskLogger, bot: DiscordBotServiceABC): async def _wait_until_ready(self, config: ConfigurationABC, logger: TaskLogger, bot: DiscordBotServiceABC):
logger.debug(__name__, f"Waiting before checking steam special offers") logger.debug(__name__, f"Waiting before {type(self).__name__}")
await bot.wait_until_ready() await bot.wait_until_ready()
async def wait(): async def wait():