MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接

    2.0的BotFactory实现?

    开发交流
    1
    1
    91
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • E
      EvanLuo42 last edited by

      文档中写道

      companion object : BotFactory by BotFactoryImpl
      
      

      但BotFactory
      中并没有以上代码,只有INSTANCE,不知道qq和password的去向。而mirai-core模块下的BotFactory有关于BotAccount对象的构造。该impl被标注过时。不知道现在的实现在哪,本人刚开始看mirai代码,也不是很熟悉语言,如果问的很傻的话请多见谅。

      1 Reply Last reply Reply Quote 0
      • 1 / 1
      • First post
        Last post
      Powered by Mamoe Technologies & NodeBB | 友情链接 | 服务监控 | Contact