Skip to content

Commit

Permalink
Merge pull request #261 from AmiyaBot/V6-dev
Browse files Browse the repository at this point in the history
V6 dev
  • Loading branch information
vivien8261 authored Nov 14, 2023
2 parents 368682a + 0a644ee commit 1574147
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .github/publish.txt
Original file line number Diff line number Diff line change
@@ -1 +1 @@
v6.4.1-fix2
v6.4.2
3 changes: 1 addition & 2 deletions core/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

from amiyabot import *
from amiyabot.adapters import BotAdapterProtocol
from amiyabot.adapters.tencent import TencentBotInstance
from amiyabot.network.httpRequests import http_requests

from core.database.messages import MessageRecord
Expand Down Expand Up @@ -62,7 +61,7 @@ async def send_to_console_channel(chain: Chain):
instance = bot[item.appid]

if item.console_channel and instance:
if type(instance.instance) is TencentBotInstance:
if isinstance(instance.instance, QQGuildBotInstance):
if not instance.private:
chain.builder = SourceServer()

Expand Down
2 changes: 1 addition & 1 deletion requirements.txt
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
amiyabot==1.8.2
amiyabot==1.8.4
attrdict~=2.0.1
baidu-aip
dhash~=1.3
Expand Down

0 comments on commit 1574147

Please sign in to comment.