diff --git a/src/config/__init__.py b/src/config/__init__.py index e0f15018e..6b51833a7 100644 --- a/src/config/__init__.py +++ b/src/config/__init__.py @@ -206,7 +206,7 @@ async def apply_conf(self, typ: type[Data], *, data_id: str = '') -> None: data = self._current[typ][data_id] channel = self._apply_channel[typ, data_id] except KeyError: - LOGGER.warning('{}[{!r}] has no UI callback!', info.name, data_id) + LOGGER.warning('{}[{!r}] has no UI channel!', info.name, data_id) else: assert isinstance(data, typ), info await channel.send(data) @@ -214,14 +214,14 @@ async def apply_conf(self, typ: type[Data], *, data_id: str = '') -> None: try: data_map = self._current[typ] except KeyError: - LOGGER.warning('{}[:] has no UI callback!', info.name) + LOGGER.warning('{}[:] has no UI channel!', info.name) return async with trio.open_nursery() as nursery: for dat_id, data in data_map.items(): try: channel = self._apply_channel[typ, dat_id] except KeyError: - LOGGER.warning('{}[{!r}] has no UI callback!', info.name, dat_id) + LOGGER.warning('{}[{!r}] has no UI channel!', info.name, dat_id) else: nursery.start_soon(channel.send, data)