派蒙Bot / PaimonBot

Overview

派蒙Bot / PaimonBot

基于Mrs4s / go-cqhttpnonebot / nonebot2 的原神QQ群聊机器人

特别鸣谢

MingxuanGame 的人物武器名字自动纠正功能
小灰灰 的人物武器信息api

环境

请务必使用Python3.7以上版本!!

尽量在linux下运行,windows下可能会有各种报错。

更新记录

2021-4-9 修复CD bug ,增加防闪照,新撤回涩图机制用法 回复Bot:撤回@发涩图指令的人
2021-4-7 更新武器资料,修复windows下路径bug
2021-4-6 修复Bug,增加涩图cd功能,默认60秒,在.env文件设置时间,超级用户不受影响
2021-4-5 优化涩图速度增加,增加涩图关键词搜索
2021-4-3 全部移植到nonebot2,增加防撤回,戳一戳等功能
.
.
.
2021-3-14 第一次更新

部署方法

1 .卸载以前的nonebot

pip3 uninstall nonebot

2.安装依赖库

pip3 install -r requirements.txt

3.在.env和.env.dev文件中设置所需的cookie和SUPERUSERS(超级用户)

4.运行Bot.py

python3 bot.py

5.在config.hjson文件中设置Bot的QQ账号密码
go-cqhttp更新,不需要填账号密码,直接右键打开.exe文件(windows下,其他系统请在go-cqhttp 下载),扫码登录

6.搭建成功,发送help获取菜单

目前功能

1.米游社资料查询

2.每日副本查询

3.角色资料查询

4.在线运行代码(目前支持py / js / c / c++ / c# / java)

5.群聊防撤回,戳一戳回复

6.涩图(不稳定,望谅解!ps超级用户可以回复撤回可以撤回最后一条涩图)

注意事项

1.Bot账号请勿使用低等级小号,会导致风控使信息发不出来
2.若想稳定运行,请在服务器挂一个星期左右
3.将config.hjson文件中的消息分片打开可降级被风控的概率,不过会导致撤回涩图功能失效

// 是否强制分片发送消息
// 分片发送将会带来更快的速度
// 但是兼容性会有些问题
force_fragmented: true

写在最后

本人能力较低,有些代码写的可能比较烂,请大佬亲喷,谢谢!
发现什么bug或者想要功能欢迎大家提iss和Pr。

Owner
晓轩
晓轩
Dante, my discord bot. Open source project in development and not optimized for other filesystems, install and setup script in development

DanteMode (In private development for ~6 months) Dante, my discord bot. Open source project in development and not optimized for other filesystems, in

2 Nov 05, 2021
A simple Discord bot that notifies users of new Abitti versions

A simple Discord bot that notifies users of new Abitti versions. New features might be added later on. If you have good ideas, feel free to do a PR.

1 Feb 11, 2022
Hassium Server Manager For Python

Hassium Server Manager This is meant to be a tool for mostly internal use. I decided that I would make it open souce in case anyone wanted to use it.

0 Nov 24, 2022
Discord bot to display private leaderboards for Advent of Code.

Advent Of Code Discord Bot Discord bot for displaying Advent of Code private leardboards, as well as custom leaderboards where participants can set th

The Future Gadgets Lab 6 Nov 29, 2022
Telegram Bot Repo Capable of fetching the following Info via Anilist API inspired from AniFluid and Nepgear

Telegram Bot Repo Capable of fetching the following Info via Anilist API inspired from AniFluid and Nepgear Anime Airing Manga Character Scheduled Top

Rikka-Chan 2 Apr 01, 2022
API para realizar parser de frases

NLP API Simple api to parse and apply some preprocessing steps in portuguses phrases (pt_BR) This api uses the great FastAPI and spaCy packages! Usage

⟠ Rodolfo De Nadai 1 Dec 28, 2021
Twitter FakeNFT With Python

This project is a server that fetches your Twitter profile picture and applies the hexagonal transparency mask displayed on the profiles of users who have an NFT profile picture.

Mathis HAMMEL 29 Apr 23, 2022
IBD Style Relative Strength Percentile Ranking of Stocks (i.e. 0-100 Score).

relative-strength IBD Style Relative Strength Percentile Ranking of Stocks (i.e. 0-100 Score). I also made a TradingView indicator, but it cannot give

57 Jan 06, 2023
A Discord token stealer app written in Python 3.

Discord Token Stealer A Discord token stealer app written in Python 3. This version of the grabber only supports Windows. Features No local caching Tr

cankat 45 Jan 03, 2023
A Telegram Bin Checker Bot made with python for check Bin valid or Invalid. 💳

Bin Checker Bot A Telegram Bin Checker Bot made with python for check Bin valid or Invalid. 📌 Deploy On Heroku 🏷 Environment Variables API_ID - Your

Chamindu Denuwan 20 Dec 10, 2022
EC2 that automatically move files received through FTP to S3

ftp-ec2-s3-cf EC2 that automatically move files received through FTP to S3 Installation CloudFormation template Deploy now! Usage IP / domain name: ta

Javier Santana 1 Jun 19, 2021
Huan Xu 1.6k Jan 04, 2023
Joshua McDonagh 1 Jan 24, 2022
IMDbPY is a Python package useful to retrieve and manage the data of the IMDb movie database about movies, people, characters and companies

IMDbPY is a Python package for retrieving and managing the data of the IMDb movie database about movies, people and companies. Revamp notice Starting

Davide Alberani 1.1k Jan 02, 2023
ANKIT-OS/TG-MUSIC-PLAYER a special repository. Its Is A Telegram Bot To Play To Play Music In Voice Chat

🔥 🎶 TG MUSIC PLAYER 🎶 🔥 The owner would not be responsible for any kind of bans due to the bot. • ⚡ INSTALLING ⚡ • • 🛠️ Lᴀɴɢᴜᴀɢᴇs Aɴᴅ Tᴏᴏʟs 🔰 •

ANKIT KUMAR 1 Dec 27, 2021
A program that generates discord.py code

discord-py-generator A program that generates discord.py code Setup in cmds.txt file add your user id, client id and bot token you can change the bot

3 Dec 15, 2022
To dynamically change the split direction in I3/Sway so as to split new windows automatically based on the width and height of the focused window

To dynamically change the split direction in I3/Sway so as to split new windows automatically based on the width and height of the focused window Insp

Ritin George 6 Mar 11, 2022
This is a python bot that automatically logs in, clicks the new button, and sends heroes to work in the bombcrypto game

This is a python bot that automatically logs in, clicks the new button, and sends heroes to work in the bombcrypto game. It is fully open source and free.

856 Jan 04, 2023
🐍 VerificaC19 SDK implementation for Python

VerificaC19 Python SDK 🐍 VerificaC19 SDK implementation for Python. Requirements Python version = 3.7 Make sure zbar is installed in your system For

Lotrèk 10 Jan 14, 2022
Free & open source API service for obtaining information about +9600 universities worldwide.

Free & open source API service for obtaining information about +9600 universities worldwide.

Yagiz Degirmenci 57 Nov 04, 2022