派蒙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
晓轩
晓轩
Projeto de estudantes do primeiro período do CIn - UFPE voltado para a criação de um sistema interativo no fechamento da disciplina IF669 - Introdução a Programação.

Projeto Game: Dona da Lua Alunos: Beatriz Férre Clara Kenderessy Matheus Silva Rafael Baltar Roseane Oliveira Samuel Marsaro Sinopse O Cebolinha apron

Maria Clara Kenderessy 5 Dec 20, 2021
This is a discord bot, which tells you food recipes.

Discord Chef Bot You have a friend, familiy or other group / channel where the topic is the food? You cannot really decide what's for Saturday lunch?

2 Apr 25, 2022
Discord Streaming Statut (Bot/SelfBot)

Discord-Streaming-Status Discord Streaming Status For Both User Accounts And Bot Accounts. Open your cmd and enter the command: pip install discord BE

Komuro 2 Nov 02, 2021
Bitbucket Server API Wrapper

A simple wrapper for the Atlassian's Bitbucket Server / Bitbucket Datacenter (formerly Stash) REST API, written in Python.

Schweitzer Engineering Laboratories 4 Jan 06, 2023
Information about the weather in a city written using Python

Information about the weather in a city Enter the desired city Climate information of the target city This program is written using Python programming

Amir Hussein Sharifnezhad 4 Nov 17, 2021
Python bot for send videos of a Youtube channel to a telegram group , channel or chat

py_youtube_to_telegram Usage: If you want to install ytt and use it, run this command: sudo sh -c "$(curl -fsSL https://raw.githubusercontent.com/nima

Nima Fanniasl 8 Nov 22, 2022
This script will detect changes in your session using Discords built in Gateway.

Detect Session Gateway This script will detect changes in your session using Discords built in Gateway. What does this log? Discord build version Oper

Omega 5 Dec 18, 2021
Simple script to ban bots at Twitch chats using a text file as a source.

AUTOBAN 🇺🇸 English version Simple script to ban bots at Twitch chats using a text file as a source. How to use Windows Go to releases for further in

And Paiva 5 Feb 06, 2022
📖 GitHub action schedular (cron) that posts a Hadith every hour on Twitter & Facebook.

Hadith Every Hour 📖 A bot that posts a Hadith every hour on Twitter & Facebook (Every 3 hours for now to avoid spamming) Follow on Twitter @HadithEve

Ananto 13 Dec 14, 2022
Advanced telegram link in a message attach bot

Attach-Bot-V2 An advanced telegram attach bot Made with Python3 (C) @FayasNoushad Copyright permission under MIT License License - https://github.com

Fayas Noushad 8 Oct 21, 2022
Seamlessly Connecting Notion Database with Python Pandas DataFrame

notion-df: Seamlessly Connecting Notion Database with Pandas DataFrame Please Note: This project is currently in pre-alpha stage. The code are not app

Shannon Shen 38 Dec 28, 2022
A component of BuzzUtilityBot that allows for inter-server communication

A component of BuzzUtilityBot that allows for inter-server communication! Separated due to privacy and ease of inspection concerns

OHaiiBuzzle 2 Oct 11, 2022
Built for streamlining development of Google Assistant Actions

Apprentice Apprentice is a framework built for developing Google Actions via Dialogflow and Google Cloud (serverless) Functions. Includes: plug-and-pl

Andrew Graham-Yooll 9 May 16, 2019
VideoMergeDcBot1 - Video Merge Dc Bot for telegram

VIDEO MERGE BOT An Telegram Bot Demo 👉 @VideoMergeDcBot To Merge multiple Video

Selfie SD 2 Feb 04, 2022
Freqtrade is a free and open source crypto trading bot written in Python.

Freqtrade is a free and open source crypto trading bot written in Python. It is designed to support all major exchanges and be controlled via Telegram. It contains backtesting, plotting and money man

Kazune Takeda 5 Dec 30, 2021
ResolveURL - Fork of UrlResolver by eldorados, tknorris and jsergio123

ResolveURL Fork of UrlResolver by eldorados, tknorris and jsergio123 I am in no

gujal 60 Jan 03, 2023
Spore API wrapper written in Python

A wrapper for the Spore API that simplifies and complements its functionality

1 Nov 25, 2021
A simple, multipurpose Discord bot.

EpicBot 🏅 A simple, multipurpose Discord bot. • Info EpicBot is a multipurpose Discord bot that was designed to make your Discord life easier and coo

Nirlep_5252_ 130 Dec 29, 2022
Simple Instagram Login Link Generator

instagram-account-login Simple Instagram Login Link Generator Info Program generates instagram login links and you may get into someone´s thought the

Kevin 5 Dec 03, 2022
Telegram bot to scrape images from the reddit universe

Telegram bot to scrape images from the reddit universe

XD22 3 Sep 30, 2022