MiraiForum

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

    天气预报插件 WeatherForecast

    插件发布
    java plugin mirai-console
    4
    6
    563
    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.
    • G
      gaylong9 last edited by

      详细设置见项目地址 mirai-plugin-weather-forecast

      插件从天气API获取天气信息,并在指定时间发送天气预报信息。

      效果图:
      效果图.png

      (由于是新换的服务器,所以mirai版本比较新)
      在mirai 2.13.0环境下开发运行,用到了2.11的JavaAutoSavePluginData类。 所以mirai-core起码不低于2.11吧大概。

      1 Reply Last reply Reply Quote 2
      • F
        fog233331 last edited by fog233331

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • G
          gaylong9 last edited by gaylong9

          目前用城市名订阅天气,部分区市重名,待过几天更新一下,加上用城市编号订阅

          G 1 Reply Last reply Reply Quote 0
          • G
            gaylong9 @gaylong9 last edited by

            @gaylong9 更新啦,支持用地区编号订阅 以解决地名冲突

            1 Reply Last reply Reply Quote 0
            • U
              uppercrusteve last edited by

              总是出现 请核对城市名是否合法,并稍后再试
              城市编号表:https://gitee.com/jin-shiyang/mirai-plugin-weather-forecast/blob/main/city.txt 这样的回复 ,然后顺着链接回去之后发现gitee提示有违规信息不能查看

              1 Reply Last reply Reply Quote 0
              • T
                Tito-XD last edited by

                没想到在这里竟然也能遇到老乡吗(

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