Coder Social home page Coder Social logo

simbot-mirai-spring-boot-demo's Introduction

Simbot springboot starter demo - Mirai

这是simple-robot 框架使用mirai组件 对接Mirai 并整合为 Spring Boot 的Demo项目。

需要做的

fork/clone

fork或者clone此项目到你的本地,并使用IDE工具打开并构建它。

修改配置文件

打开文件 application.yml 并修改其中的 simbot.core.bots 项为你测试用的QQ账号,例如:

simbot: 
  core:
    bots: 123456789:password

保证安静

将你的bot放在一些测试用的群而不是一些大型群。

阅读

  • listener 包下为一些监听函数示例。阅读它们的注释,并可以试着修改它们。

运行

执行SimbotExampleApplication 中的main方法。

验证

如果你是第一次使用此框架,且出现了诸如需要“滑动验证”等相关错误,你可以尝试先使用一次 simbot-mirai-login-solver-selenium-helperPack 来使腾讯记住你的设备信息。

以及,记得关闭账号中与“设备锁”、“安全保护”等相关内容。

协助

如果你有一个好的示例点子,你可以通过github pr 来协助此demo项目的更新。

simbot-mirai-spring-boot-demo's People

Contributors

fortescarlet avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.