💡 update docstring

This commit is contained in:
yanyongyu
2021-02-24 17:56:43 +08:00
parent eb8e5aa39d
commit 04e11c3b3e
6 changed files with 89 additions and 4 deletions

View File

@ -73,8 +73,6 @@ class Driver(abc.ABC):
* ``name: str``: 适配器名称,用于在连接时进行识别
* ``adapter: Type[Bot]``: 适配器 Class
"""
if name in self._adapters:
print("============", name)
self._adapters[name] = adapter
adapter.register(self, self.config, **kwargs)
logger.opt(