From c832e1da528715584108524daca7b2f8fe174d8f Mon Sep 17 00:00:00 2001 From: Yingjie Wang Date: Sat, 26 Oct 2024 12:36:08 -0400 Subject: [PATCH] update: add fork info --- starbot/commands/builtin/data/room_data.py | 2 ++ starbot/commands/builtin/data/room_data_total.py | 2 ++ starbot/commands/builtin/data/user_data.py | 2 ++ starbot/commands/builtin/data/user_data_total.py | 2 ++ starbot/commands/builtin/help.py | 2 ++ starbot/commands/builtin/ranking/ranking.py | 2 ++ starbot/commands/builtin/ranking/ranking_double.py | 2 ++ starbot/painter/DynamicPicGenerator.py | 2 ++ starbot/painter/LiveReportGenerator.py | 2 ++ 9 files changed, 18 insertions(+) diff --git a/starbot/commands/builtin/data/room_data.py b/starbot/commands/builtin/data/room_data.py index 4c02361..1c65570 100644 --- a/starbot/commands/builtin/data/room_data.py +++ b/starbot/commands/builtin/data/room_data.py @@ -117,6 +117,8 @@ async def room_data(app: Ariadne, source: Source, sender: Union[Friend, Group]): pic.draw_text("") pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/commands/builtin/data/room_data_total.py b/starbot/commands/builtin/data/room_data_total.py index f380f3e..dcba657 100644 --- a/starbot/commands/builtin/data/room_data_total.py +++ b/starbot/commands/builtin/data/room_data_total.py @@ -109,6 +109,8 @@ async def room_data_total(app: Ariadne, source: Source, sender: Union[Friend, Gr pic.draw_text("") pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/commands/builtin/data/user_data.py b/starbot/commands/builtin/data/user_data.py index 655b482..c9c11c9 100644 --- a/starbot/commands/builtin/data/user_data.py +++ b/starbot/commands/builtin/data/user_data.py @@ -170,6 +170,8 @@ async def user_data(app: Ariadne, source: Source, sender: Union[Friend, Group], pic.draw_text("") pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/commands/builtin/data/user_data_total.py b/starbot/commands/builtin/data/user_data_total.py index 834a9e3..b226857 100644 --- a/starbot/commands/builtin/data/user_data_total.py +++ b/starbot/commands/builtin/data/user_data_total.py @@ -183,6 +183,8 @@ async def user_data_total(app: Ariadne, source: Source, sender: Union[Friend, Gr pic.draw_text("") pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/commands/builtin/help.py b/starbot/commands/builtin/help.py index 971a2c6..13645ea 100644 --- a/starbot/commands/builtin/help.py +++ b/starbot/commands/builtin/help.py @@ -158,6 +158,8 @@ async def _help(app: Ariadne, sender: Union[Friend, Group]): # 底部版权信息,请务必保留此处 pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/commands/builtin/ranking/ranking.py b/starbot/commands/builtin/ranking/ranking.py index 0f4f6d9..a0fee02 100644 --- a/starbot/commands/builtin/ranking/ranking.py +++ b/starbot/commands/builtin/ranking/ranking.py @@ -129,6 +129,8 @@ async def ranking(app: Ariadne, pic.draw_text("") pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/commands/builtin/ranking/ranking_double.py b/starbot/commands/builtin/ranking/ranking_double.py index 2af2ee2..ef55cdd 100644 --- a/starbot/commands/builtin/ranking/ranking_double.py +++ b/starbot/commands/builtin/ranking/ranking_double.py @@ -124,6 +124,8 @@ async def ranking_double(app: Ariadne, pic.draw_text("") pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() await app.send_message(sender, MessageChain(Image(base64=pic.base64()))) diff --git a/starbot/painter/DynamicPicGenerator.py b/starbot/painter/DynamicPicGenerator.py index 4c049f5..cb8b27f 100644 --- a/starbot/painter/DynamicPicGenerator.py +++ b/starbot/painter/DynamicPicGenerator.py @@ -69,6 +69,8 @@ class DynamicPicGenerator: pic.move_pos(0, 15) pic.draw_text_right(25, "Designed By StarBot", Color.GRAY) pic.draw_text_right(25, "https://github.com/Starlwr/StarBot", Color.LINK) + pic.draw_text_right(25, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE) + pic.draw_text_right(25, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK) pic.crop_and_paste_bottom() return pic.base64() diff --git a/starbot/painter/LiveReportGenerator.py b/starbot/painter/LiveReportGenerator.py index 67bde61..b00d443 100644 --- a/starbot/painter/LiveReportGenerator.py +++ b/starbot/painter/LiveReportGenerator.py @@ -405,6 +405,8 @@ class LiveReportGenerator: pic.set_row_space(10) pic.draw_text_right(50, "Designed By StarBot", Color.GRAY, logo_limit) pic.draw_text_right(50, "https://github.com/Starlwr/StarBot", Color.LINK, logo_limit) + pic.draw_text_right(50, "本Bot由薛定谔的大喵维护", Color.LIGHTBLUE, logo_limit) + pic.draw_text_right(50, "https://gitea.phywyj.dynv6.net/wyj/starbot", Color.LINK, logo_limit) pic.crop_and_paste_bottom() return pic.base64()