update: 修改模块结构
This commit is contained in:
15
aibot.py
15
aibot.py
@@ -1,9 +1,16 @@
|
|||||||
|
import asyncio
|
||||||
|
import json
|
||||||
|
import os
|
||||||
import re
|
import re
|
||||||
from typing import Type
|
from datetime import datetime
|
||||||
|
|
||||||
from maubot import Plugin
|
from typing import Type, Deque, Dict, Generator
|
||||||
from maubot.handlers import event
|
from mautrix.client import Client
|
||||||
from mautrix.types import EventType, MessageType, MessageEvent, RelationType, TextMessageEventContent, Format
|
from collections import deque, defaultdict
|
||||||
|
from maubot.handlers import command, event
|
||||||
|
from maubot import Plugin, MessageEvent
|
||||||
|
from mautrix.errors import MNotFound, MatrixRequestError
|
||||||
|
from mautrix.types import Format, TextMessageEventContent, EventType, RoomID, UserID, MessageType, RelationType, EncryptedEvent
|
||||||
from mautrix.util import markdown
|
from mautrix.util import markdown
|
||||||
from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper
|
from mautrix.util.config import BaseProxyConfig, ConfigUpdateHelper
|
||||||
|
|
||||||
|
|||||||
@@ -1,5 +1,5 @@
|
|||||||
maubot: 0.1.0
|
maubot: 0.1.0
|
||||||
id: org.taylorxie.llmplus
|
id: cn.tayxie.llmplus
|
||||||
version: 1.0.0
|
version: 1.0.0
|
||||||
license: MIT
|
license: MIT
|
||||||
modules:
|
modules:
|
||||||
|
|||||||
Reference in New Issue
Block a user