Skip to content

Commit

Permalink
🔖 version 0.13.0
Browse files Browse the repository at this point in the history
resolve #29
  • Loading branch information
RF-Tar-Railt committed Dec 10, 2024
1 parent 169feb4 commit 2e3bdae
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions nonebot/adapters/satori/adapter.py
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,6 @@
Opcode,
Payload,
Identify,
LoginStatus,
PayloadType,
PingPayload,
PongPayload,
Expand Down Expand Up @@ -263,7 +262,8 @@ async def _loop(self, info: ClientInfo, ws: WebSocket):
if not (bot := self.bots.get(event.login.sn)):
log(
"WARNING",
f"Received event for unknown bot {event.login.user.id if event.login.user else event.login.sn}",
f"Received event for unknown bot "
f"{event.login.user.id if event.login.user else event.login.sn}",
)
continue
if isinstance(event, (MessageEvent, InteractionEvent)):
Expand Down
4 changes: 2 additions & 2 deletions nonebot/adapters/satori/bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@
from .element import parse
from .utils import API, log
from .config import ClientInfo
from .models import PageDequeResult, Meta
from .models import PageDequeResult
from .event import Event, MessageEvent
from .models import MessageObject as SatoriMessage
from .message import Author, Message, RenderMessage, MessageSegment
from .models import Role, User, Guild, Login, Order, Member, Upload, Channel, Direction, PageResult
from .models import Meta, Role, User, Guild, Login, Order, Member, Upload, Channel, Direction, PageResult
from .exception import (
ActionFailed,
NetworkError,
Expand Down
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[project]
name = "nonebot-adapter-satori"
version = "0.13.0rc3"
version = "0.13.0"
description = "Satori Protocol Adapter for Nonebot2"
authors = [
{name = "RF-Tar-Railt",email = "[email protected]"},
Expand Down

0 comments on commit 2e3bdae

Please sign in to comment.