diff --git a/uniborg/uniborg.py b/uniborg/uniborg.py index 77b3406..3dd3447 100644 --- a/uniborg/uniborg.py +++ b/uniborg/uniborg.py @@ -72,7 +72,7 @@ class Uniborg(TelegramClient): self._plugins[shortname] = mod self._logger.info(f"Successfully loaded plugin {shortname}") - def remove_plugin(self, shortname): + async def remove_plugin(self, shortname): name = self._plugins[shortname].__name__ for i in reversed(range(len(self._event_builders))):