Skip to content

Commit

Permalink
revert: encode to silk in onebot
Browse files Browse the repository at this point in the history
  • Loading branch information
lss233 committed Mar 30, 2023
1 parent c8e5d57 commit 1a5daa1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion platforms/onebot_bot.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ async def respond(resp):
try:
if not isinstance(resp, MessageChain):
resp = MessageChain(resp)
resp = await transform_from_message_chain(resp)
resp = transform_from_message_chain(resp)
if config.response.quote and '[CQ:record,file=' not in str(resp): # skip voice
resp = MessageSegment.reply(event.message_id) + resp
return await bot.send(event, resp)
Expand Down

0 comments on commit 1a5daa1

Please sign in to comment.