update: add fork info
This commit is contained in:
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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())))
|
||||
|
||||
@@ -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()
|
||||
|
||||
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user