Skip to main content

用于检测bugku的公开AWD房间

Project description

nonebot_plugin_bugku

简介

基于nonebot2的bot插件,用于检测Bugku的AWD公开房间,练手项目,其实并没有什么卵用

功能:

  • 定时检测并通知
  • 即时检测
  • Bot所有者自动签到
  • 多用户自动签到

使用方法

初始配置

.env文件中添加如下配置

bugku_username=bugku的账号
bugku_password=bugku的密码
bugku_own=机器人拥有者的扣扣号

bot.py目录的父目录(上一级)建立res文件夹(不存在会自动创建),用于存放captcha.pngcookies.jsonuserinfo.json,可按需求自行更改

命令

  • /init

    用于bot重启后,将保存到本地的配置文件加载到config

  • /start

    将当前QQ号/群号加入定时检测通知列表

  • /bugku

    用于即时检测

使用

开始/init一下,然后/start一下,想看看有没有房间就/bugku一下,如果cookie失效了会尝试重新登录并发送登录所需的验证码图片,发送四个字符的验证码(不用带/)即可。

鸣谢

感谢如此美妙的bot框架nonebot2

感谢耐心解答问题的开发者群群友

感谢商店里插件提供精妙的案例让我有的借鉴

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

nonebot_plugin_bugku-0.1.0.tar.gz (8.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

nonebot_plugin_bugku-0.1.0-py2.py3-none-any.whl (7.9 kB view details)

Uploaded Python 2Python 3

File details

Details for the file nonebot_plugin_bugku-0.1.0.tar.gz.

File metadata

  • Download URL: nonebot_plugin_bugku-0.1.0.tar.gz
  • Upload date:
  • Size: 8.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for nonebot_plugin_bugku-0.1.0.tar.gz
Algorithm Hash digest
SHA256 335bf44de3b8c5588b4478e8210937f99661d2db606d778579d14fc4fcced832
MD5 66a144f2813c23051e8ddaf4bfa73d46
BLAKE2b-256 e3dafeb6948134b064fcbcf59e75241627af92f2d4fbf35c4b6b6c54f358d394

See more details on using hashes here.

File details

Details for the file nonebot_plugin_bugku-0.1.0-py2.py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_bugku-0.1.0-py2.py3-none-any.whl
  • Upload date:
  • Size: 7.9 kB
  • Tags: Python 2, Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.8.10

File hashes

Hashes for nonebot_plugin_bugku-0.1.0-py2.py3-none-any.whl
Algorithm Hash digest
SHA256 c30bbe381565987c34d502035bc292b423bacfac7433437d907e0d2aed883666
MD5 3755cac05cea3d3ae58dbe0ea1aaca11
BLAKE2b-256 ab07d77cb8084e488b4ff161281264a08ff12039c1ff2cf4eaad6a0869401cb7

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page