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.pngcookiesuserinfo文件,可按需求自行更改

命令

  • /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.2.tar.gz (7.5 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.2-py3-none-any.whl (7.5 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: nonebot_plugin_bugku-0.1.2.tar.gz
  • Upload date:
  • Size: 7.5 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.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

File hashes

Hashes for nonebot_plugin_bugku-0.1.2.tar.gz
Algorithm Hash digest
SHA256 79e7ebc39f4b8b06f118e1f0ee03d16b114162807b62807b24f510171d899ec3
MD5 5aa0744ed47e62ca5986681807ee555f
BLAKE2b-256 57f5055bcc3a898638a1bfd3226fa1605f9dfe9d1da31adbbd7eadfbd57944a4

See more details on using hashes here.

File details

Details for the file nonebot_plugin_bugku-0.1.2-py3-none-any.whl.

File metadata

  • Download URL: nonebot_plugin_bugku-0.1.2-py3-none-any.whl
  • Upload date:
  • Size: 7.5 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.4.2 importlib_metadata/4.6.1 pkginfo/1.7.1 requests/2.25.1 requests-toolbelt/0.9.1 tqdm/4.61.2 CPython/3.9.2

File hashes

Hashes for nonebot_plugin_bugku-0.1.2-py3-none-any.whl
Algorithm Hash digest
SHA256 0ed4a882abcd61c203771c628f56d5e02ebb795b370ed9dac58d20d8a3940369
MD5 a65b6baa541ef0225e1b9f34a3daa8bb
BLAKE2b-256 2e8e293d82e00d6eb0cbc68c8c586353e0e96118df199e03054461efa8126a82

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