派蒙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
晓轩
晓轩
An all-purpose Discord bot written in Python featuring a diverse collection of practical utilities.

GlazeGlopBot Table of Contents About Setup Usage Commands Command Errors Cog Management Local Sound Files Cogs Mod QR RNG VC Weather Proposed Features

Edison Ye 0 May 12, 2022
LavaAPI - A simple library for accepting payments and using the LAVA Wallet

This library was created to simplify the LAVA api provided on the official websi

Vlad Baccara 8 Dec 18, 2022
Asyncevents: a small library to help developers perform asynchronous event handling in Python

asyncevents - Asynchronous event handling for modern Python asyncevents is a small library to help developers perform asynchronous event handling in m

Mattia 5 Aug 07, 2022
Discord group chat spammer concept.

GC Spammer [Concept] GC-Spammer for https://discord.com/ Warning: This is purely a concept. In the past the script worked, however, Discord ratelimite

Roover 3 Feb 28, 2022
Userbot untuk memutar video dan lagu di vcg/os

Userbot untuk memutar video dan lagu di vcg/os

FJ_GAMING 2 Nov 13, 2021
QR-Code-Grabber - A python script that allows a person to create a qr code token grabber

Qr Code Grabber Description Un script python qui permet a une personne de creer

5 Jun 28, 2022
Say "good morning" on Discord, in batch, one-click.

🌞 gm Good Morning! Usage Simply copy the channel_list to gm.py and fill authorization_list with authorization token(s). Enjoy. Authorization Please r

e 3 Nov 18, 2022
Vladilena Mirize Music - Bot Music Telegram By @zenfrans

Vladilena Mirize Music - Bot Music Telegram By @zenfrans

Wahyusaputra 3 Feb 12, 2022
Framework for Telegram users and chats investigating.

telegram_scan Fantastic and full featured framework for Telegram users and chats investigating. Prerequisites: pip3 install pyrogram; get api_id and a

71 Dec 17, 2022
HelpDESK Dynamics

Helpdesk Application The project is a Helpdesk application (Helpdesk dynamics) where staff of an organization can raise and assign job/trouble tickets

Okeoma Ihunwo 0 Nov 14, 2021
A python package to easy the integration with Direct Online Pay (Mpesa, TigoPesa, AirtelMoney, Card Payments)

A python package to easy the integration with Direct Online Pay (DPO) which easily allow you easily integrate with payment options once without having to deal with each of them individually;

Jordan Kalebu 2 Nov 25, 2021
Twitter for Python!

Tweepy: Twitter for Python! Installation The easiest way to install the latest version from PyPI is by using pip: pip install tweepy You can also use

9.4k Jan 07, 2023
AWSXenos will list all the trust relationships in all the IAM roles and S3 buckets

AWS External Account Scanner Xenos, is Greek for stranger. AWSXenos will list all the trust relationships in all the IAM roles, and S3 buckets, in an

AirWalk 57 Nov 07, 2022
A compatability shim between Discord.py and Hikari.

Usage as a partial shim: import discord import hikari import hikari_shim dpy_bot = discord.Client(intents=discord.Intents.all(), enable_debug_events=

EXPLOSION 3 Dec 25, 2021
a Music bot for discord

Bot this is a discord bot made by AnHalfGuy.py#6031(ID: 747864072879603743) and HastagStopAnimalAbuse#5617(ID :349916852308279306) This Bot Is For Mus

A Discord Bot Development 1 Oct 29, 2021
A python client for the Software-Challenge Germany.

sc-client-python A python client for the Software-Challenge Germany. Creating a new project (Optional) Install virtualenv virtualenv is a tool that cr

rpkak 3 Jan 22, 2022
Public repo of the bot

wiki-reddit-bot Public repo of u/wikipedia_answer_bot Tools Language: Python Libraries: praw (Reddit API) mediawikiapi (Wikipedia API) tenacity How it

TheBugYouCantFix 51 Dec 03, 2022
A Discord bot to play bluffing games like Dobbins or Bobbins

Usage: pip install -r requirements.txt python3 bot.py DISCORD_BOT_TOKEN Gameplay: All commands are case-insensitive, with trailing punctuation and spa

4 May 27, 2022
Cleiton Leonel 4 Apr 22, 2022
Droplink URL Shortener Bot, deployable to Heroku and Railway.

Droplink-bot Make short link by using Droplink API key. Made by @dakshy. Installation The Easy Way Required Variables BOT_TOKEN: Create a bot using @B

ToonsHub 5 Jun 25, 2022