MiraiForum

    • Register
    • Login
    • Search
    • Popular
    • Recent
    • Unsolved
    • Tags
    • Groups
    • 友情链接
    1. Home
    2. RF-Tar-Railt
    R
    • Profile
    • Following 0
    • Followers 0
    • Topics 1
    • Posts 1
    • Best 0
    • Controversial 0
    • Groups 0

    RF-Tar-Railt

    @RF-Tar-Railt

    0
    Reputation
    1
    Profile views
    1
    Posts
    0
    Followers
    0
    Following
    Joined Last Online

    RF-Tar-Railt Unfollow Follow

    Latest posts made by RF-Tar-Railt

    • Arclet-Edoves — 基于Mirai的Python 机器人框架

      Edoves

      Edoves 是 Arclet Project 基于同项目下的 Cesloi 的 第二代 框架实现, 采取了模块化设计, 最大程度上简化了交互操作

      项目地址: https://github.com/ArcletProject/Edoves
      交流: QQ邀请链接

      !注意: 该框架目前处于快速迭代状态, API 可能会发生 剧烈 变化, 建议根据changelog选择合适的版本

      样例:

      回复消息

      async def test_message_reaction(message: Message):
          if message.content.startswith("Hello"):
              await message.set("Hello World!").send()
      message_module = app['MAH-default'].activate_module(MessageModule)
      

      效果图:

      戳一戳

      async def test_nudge():
          if message.content.startswith("戳一戳"):
              await send_nudge().execute()
      message_module = app['MAH-default'].activate_module(MessageModule)
      
      posted in 其他项目发布
      R
      RF-Tar-Railt