更新资源和服务名

This commit is contained in:
CMHopeSunshine 2022-03-15 10:33:54 +08:00
parent 72c3fa71e9
commit e2ef10fcac
20 changed files with 64 additions and 26 deletions

View File

@ -1 +1,42 @@
# LittlePaimon
# LittlePaimon
原神qq机器人基于[HoshinoBot](https://github.com/Ice-Cirno/HoshinoBot)和[go-cqhttp](https://github.com/Mrs4s/go-cqhttp)开发。
# READMD编辑中.....
敬请期待
# 使用方法
> 环境准备一台电脑或云服务器Windows或Linux都可。
>
> Python3.8及以上安装ffmpeg。
1. 克隆\下载项目
* 使用git推荐方便版本更新
- 安装[git](https://git-scm.com/)
- 命令行cd到存放目录进行克隆
```
git clone https://github.com/CMHopeSunshine/LittlePaimon
```
* 直接下载,解压
2. 安装依赖
```
cd LittlePaimon # 进入LittlePaimon目录
pip install -r requirements.txt
```
# 感谢
- [HoshinoBot](https://github.com/Ice-Cirno/HoshinoBot) - 基于nonebot1的QQ-bot框架
- [go-cqhttp](https://github.com/Mrs4s/go-cqhttp) - Onebot标准的框架实现
- [egenshin](https://github.com/pcrbot/erinilis-modules/tree/master/egenshin) - 参考了它的抽卡代码和资源

View File

@ -9,7 +9,7 @@ HoshinoBot = nonebot.NoneBot
from . import log, config, util
from .service import Service, sucmd
__version__ = '2.2.0'
__version__ = 'v1.0.3'
_bot = None
os.makedirs(os.path.expanduser('~/.hoshino'), exist_ok=True)

View File

@ -5,7 +5,7 @@ from ..util import get_uid_by_qq, get_cookie, update_last_query_to_qq
from ..get_data import get_abyss_data
from .get_img import draw_abyss_card
sv = Service('原神深渊查询CM')
sv = Service('原神深渊查询')
@sv.on_prefix(('sy','深渊查询','深境螺旋查询'))
async def main(bot,ev):

View File

@ -5,7 +5,7 @@ from ..util import get_uid_by_qq, get_cookie, check_uid_by_qq, update_last_query
from ..get_data import get_daily_note_data
from .get_img import draw_daily_note_card
sv = Service('原神实时便签CM')
sv = Service('原神实时便签')
@sv.on_prefix(('ssbq','实时便笺','实时便签'))
async def main(bot,ev):

View File

@ -9,7 +9,7 @@ from .gacha_role import *
from .gacha_wish import more_ten
lmt = PriFreqLimiter(60)
sv=hoshino.Service('原神抽卡-惜月')
sv=hoshino.Service('原神模拟抽卡')
#activity = 301 限定卡池
#activity2 = 400 限定卡池2
#weapon = 302 武器卡池

View File

@ -5,7 +5,7 @@ from ..util import get_uid_by_qq, get_cookie, check_uid_by_qq, update_last_query
from ..get_data import get_monthinfo_data
from .get_img import draw_monthinfo_card
sv = Service('原神每月札记CM')
sv = Service('原神每月札记')
@sv.on_prefix(('myzj','每月札记'))
async def main(bot,ev):

View File

@ -6,7 +6,7 @@ from ..get_data import get_player_card_data, get_chara_detail_data, get_chara_sk
from .get_img import draw_player_card, draw_all_chara_card, draw_chara_card
from ..character_alias import get_id_by_alias
sv = Service('原神uid查询CM')
sv = Service('原神信息查询')
@sv.on_prefix('ys')
async def player_card(bot,ev):

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.7 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.5 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.0 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.1 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 3.9 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.2 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 4.4 KiB

Binary file not shown.

After

Width:  |  Height:  |  Size: 5.9 KiB

View File

@ -1,35 +1,32 @@
from hoshino import Service, priv
from hoshino import Service, priv, __version__
from hoshino.typing import CQEvent
sv = Service('_help_', manage_priv=priv.SUPERUSER, visible=False)
TOP_MANUAL = '''
TOP_MANUAL = f'''
====================
= 惜月的小派蒙使用说明 =
= 惜月的小派蒙{__version__} =
发送[]内的关键词触发
(仅频道)说明只能在qq频道里触发
怎么进qq频道让管理员发邀请
(仅群)说明频道里用不了
#的,#也要输入
*号的仅绑定cookie后可用
====== 常用指令 ======
[抽n十连xx]原神模拟抽卡(仅频道)
[刷副本xx]原神模拟刷圣遗物(仅频道)
[原神日历]查看原神活动日历
[ys uid]原神个人信息卡片
[ysa uid]原神角色背包一览
[ysc uid 角色名]原神角色详情
[sy uid]原神个人深渊信息
*[ssbq]原神实时便签
*[myzj 月份]原神每月札记
[抽n十连xx]原神模拟抽卡
[原神日历]原神活动日历
[原神运势]原神运势
[抽签/解签]原神抽签解签(仅频道)
[ys/ysa+uid]查看原神uid信息
[#原神猜语音]顾名思义猜语音(仅群)
[code 语言 (-i) (输入) 代码]运行代码
[#点歌 歌曲名]搜歌点歌(仅群)
[#表白 对象]发一篇表白小作文
[#续写 内容]ai续写文章
[#rua@xxx]rua一下其他头像
[#青年大学习]查看最新期答案
[#code 语言 (-i) (输入) 代码]在线运行代码
[#搜天气 城市名]看城市天气
[#翻译中|英|日 内容]翻译
[xx疫情查询]顾名思义查城市疫情
[亲亲/贴贴/拍拍/给爷爬/吃掉/扔掉/撕掉/精神支柱/要我一直
+@人/qq号/图片]:好玩的gif图表情包生成
[xx疫情查询]顾名思义
[亲亲/贴贴/拍拍/给爷爬/吃掉/扔掉/撕掉/精神支柱
/要我一直+@人/qq号/图片]:好玩的gif图表情包生成
=====================
'''.strip()
#[#喜加一资讯 n]查看n条喜加一资讯