add: 添加命令ai model list的逻辑

This commit is contained in:
taylor
2024-10-13 19:56:49 +08:00
parent c5b8566d83
commit 296aa56c26

View File

@@ -39,6 +39,8 @@ class AiBotPlugin(Plugin):
self.name = self.config['name'] or \
await self.client.get_displayname(self.client.mxid) or \
self.client.parse_user_id(self.client.mxid)[0]
self.log.debug(f"DEBUG gpt plugin started with bot name: {self.name}")
"""
判断sender是否是allowed_users中的成员