Skip to main content

NoneBot 插件 - 游戏磁力链接查询 Aimheaven

Project description

NoneBotPluginLogo

nonebot-plugin-game-torrent

⭐基于Nonebot2的获取游戏种子插件⭐


⭐ 介绍

为用户在线提供游戏种子资源

📜 免责声明

[!CAUTION] 本插件仅供学习研究使用,使用者需自行承担使用插件的风险。作者不对插件的使用造成的任何损失或问题负责。请合理使用插件,遵守相关法律法规。 使用本插件获取游戏种子资源可能涉及到版权问题,请在使用过程中遵守相关法律法规,不要传播盗版游戏或侵犯他人权益的内容。使用者应自行承担因违反法律法规而产生的法律责任。 本插件提供的游戏种子资源仅供个人使用,不得用于商业目的。使用者应自行判断是否符合使用条件,并承担因使用不当而产生的一切后果。 使用本插件即表示您已阅读并同意遵守以上免责声明。如果您不同意或无法遵守以上声明,请不要使用本插件。

💿 安装

安装

pip 安装

pip install nonebot-plugin-game-torrent
  • 在nonebot的pyproject.toml中的plugins = ["xxx"]添加此插件

nb-cli安装

nb plugin install nonebot-plugin-game-torrent -U

git clone安装(不推荐)

  • 命令窗口cmd下运行
git clone https://github.com/Cvandia/nonebot-plugin-game-torrent
  • 在窗口运行处 将文件夹nonebot-plugin-torrent-game复制到bot根目录下的src/plugins(或创建bot时的其他名称xxx/plugins)
注意

推荐镜像站下载

清华源https://pypi.tuna.tsinghua.edu.cn/simple

阿里源https://mirrors.aliyun.com/pypi/simple/

⚙️ 配置

在env.中添加以下配置

配置 类型 必填项 默认值 说明
torrent_send_format str "game: {game_name}\nsize: {size}\nlast_update: {last_update}\nmagnet: {magnet}\n" 默认发送的格式
magnet_to_qrcode bool False 是否将magnet链接转换为二维码

⭐ 使用

指令:

: 以下命令均为command触发,实际需要在命令前加上command_start

指令 需要内容 范围 说明 权限
游戏搜索 群聊、私聊 搜索游戏种子 所有人
种子源 群聊、私聊 管理种子源 所有人

示例:

  • /游戏搜索 赛博朋克2077
  • /搜索游戏 艾尔登法环
  • /种子源 show
  • /源 change 1

🌙 未来

  • 获取种子链接供下载
  • 链接转二维码
  • 上传群文件
  • 配置下载种子文件路劲 - [ ] 添加更多种子获取网站
  • 添加Aimhaven的种子获取
喜欢记得点个star⭐

💝 特别鸣谢

  • 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_game_torrent-0.2.4.tar.gz (10.1 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_game_torrent-0.2.4-py3-none-any.whl (12.4 kB view details)

Uploaded Python 3

File details

Details for the file nonebot_plugin_game_torrent-0.2.4.tar.gz.

File metadata

File hashes

Hashes for nonebot_plugin_game_torrent-0.2.4.tar.gz
Algorithm Hash digest
SHA256 ded8ef72a3c85824679594d25e42ec8af13fca207a694920577d17e7c5b12ca9
MD5 75f5c7adb7f9295eb39f97cf3ccf9e86
BLAKE2b-256 7a6ff63d78ec884d411a5e01ea470a1a0375d870829cfb0ae5d2db4b934cdfa4

See more details on using hashes here.

File details

Details for the file nonebot_plugin_game_torrent-0.2.4-py3-none-any.whl.

File metadata

File hashes

Hashes for nonebot_plugin_game_torrent-0.2.4-py3-none-any.whl
Algorithm Hash digest
SHA256 422654949398e4954e7e97a7f90290b1d1fd7ec648b115d802ea22bca2b08f65
MD5 bfbe98e4758a99666d9f7204c2ebf476
BLAKE2b-256 95c5ea76232e95e5f245762877e8370aaa77e701a7db36e4bac65996abfb48f5

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