Giter Club home page Giter Club logo

mirai-class-notice's Introduction

mirai-class-notice

All Contributors GitHub Repo stars GitHub Repo stars

🥳 这是一款基于 mirai 的班级 QQ 群课程通知机器人,拥有简单的 web 管理页面,尽量实现一键安装简易操作等功能。

最新版本: v0.2 Beta

使用 🍗

mirai-class-notice 上课通知机器人简单搭建部署使用教程

【精选博客】使用宝塔面板搭建 QQ 群课程通知机器人

【精选博客】保姆式宝塔搭建 class-notice 教程

功能 🦁

  • 用户登陆
  • 上课时间设定
  • 课程表添加
  • 系统状态
  • 系统设置
  • 定时任务
  • 修改管理员密码
  • 暂停课程通知
  • 修改课程信息
  • 删除课程

TODO 🦑

  • 首页展示系统信息
  • 自定义消息模版
  • 支持后台安装插件(开发插件相关文档正在准备)
  • Linux 一键安装脚本

插件(实验性)

mirai-plugin-checkclass 网课搜题机器人插件

遇到问题了?

Q:怎么设置自动发送课程通知?上课时间设置 24 小时制?用什么分隔符号?

Q:QQ 账号一直显示登陆失败?

Q:运行之后输出日志报错: must have one register DataBase alias named 'default'

Q:登陆机器人的时候提示:(其他登陆错误) login failed: 当前上网环境异常,请更换网络环境或在常用设备上登录或稍后再试。请问这种情况要怎么办呀?

Q:登陆机器人的时候提示: QQ 账号登陆异常,Packet timed out

遇到了其他问题或者有啥改进和优化建议?欢迎 创建 Issue ,或者加入 QQ 群: 664649817

Contributors ✨

感谢所有使用以及反馈和提出建议的小伙伴们。

Thanks goes to these wonderful people (emoji key):


FangWei

⚠️ 📝 🐛

ayyz666

🐛 ⚠️ 📝

This project follows the all-contributors specification. Contributions of any kind welcome!

mirai-class-notice's People

Contributors

pbk-b avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar

mirai-class-notice's Issues

配置文件修改内容

appname = class_notice
httpaddr = 服务器公网ip
httpport = 8089
runmode = prod
dbhost = 127.0.0.1:3306
dbdriver = mysql
dbusername = 数据库名
dbpassword = 数据库密码
dbdatabase = test_class_notice

老哥 这个配置文件我是这么配置的,但是后台地址打不开怎么处理(已经放行了端口号)

教程里面的下载安装包 404 no found 能不能修一下

[root@xuyao class_notice]# wget https://github.com/PBK-B/mirai-class-notice/releases/download/v0.1-Beta/linux_v0.1_beta.tar.gz
--2021-08-25 06:43:59-- https://github.com/PBK-B/mirai-class-notice/releases/download/v0.1-Beta/linux_v0.1_beta.tar.gz
正在解析主机 github.com (github.com)... 52.74.223.119
正在连接 github.com (github.com)|52.74.223.119|:443... 已连接。
已发出 HTTP 请求,正在等待回应... 404 Not Found
2021-08-25 06:44:00 错误 404:Not Found。

QQ登录问题

手机下载那个软件之后,替换了device文件,然后还是登不上
页面提示:QQ 账号登陆异常,Packet timed out
下面是错误日志

2021-08-28T23:36:08: time="2021-08-28T23:36:08+08:00" level=info msg="initializing modules ..." bot=internal
2021-08-28T23:36:08: time="2021-08-28T23:36:08+08:00" level=info msg="all modules initialized" bot=internal
2021-08-28T23:36:08: time="2021-08-28T23:36:08+08:00" level=info msg="registering modules serve functions ..." bot=internal
2021-08-28T23:36:08: time="2021-08-28T23:36:08+08:00" level=info msg="all modules serve functions registered" bot=internal
2021-08-28T23:36:08: time="2021-08-28T23:36:08+08:00" level=info msg="starting modules tasks ..." bot=internal
2021-08-28T23:36:08: time="2021-08-28T23:36:08+08:00" level=info msg="tasks running" bot=internal

关于定时消息不能及时发出

手动通知可以发出,定时消息不能到点发出,
大佬可以更新一下Releases里面的文件吗,这里面还是8天前的哈

无法正确启动机器人

输入./class_notice运行时,机器人被启动,随后就被关闭,报错提示bind: cannot assign requested address,使用网上的方法设置net.ipv4.tcp_tw_reuse = 1这个方法无效。

登录失败

(其他登陆错误) login failed: 当前上网环境异常,请更换网络环境或在常用设备上登录或稍后再试。
已经关闭设备锁

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.