Put boot log send message in loop task #243
This commit is contained in:
		| @@ -68,9 +68,11 @@ class BootLogOnReadyEvent(OnReadyABC): | |||||||
|                 self._logger.error(__name__, f"Config {type(self).__name__}_{g.id} not found!") |                 self._logger.error(__name__, f"Config {type(self).__name__}_{g.id} not found!") | ||||||
|                 return |                 return | ||||||
|  |  | ||||||
|             await self._message_service.send_channel_message( |             self._bot.loop.create_task( | ||||||
|                 self._bot.get_channel(module_settings.login_message_channel_id), |                 self._message_service.send_channel_message( | ||||||
|                 self._t.transform("modules.boot_log.login_message").format(init_time), |                     self._bot.get_channel(module_settings.login_message_channel_id), | ||||||
|  |                     self._t.transform("modules.boot_log.login_message").format(init_time), | ||||||
|  |                 ) | ||||||
|             ) |             ) | ||||||
|  |  | ||||||
|         self._config.add_configuration("IS_READY", "true") |         self._config.add_configuration("IS_READY", "true") | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user