mirror of
https://github.com/Xtao-Labs/QQ-GitHub-Bot.git
synced 2025-01-30 15:08:54 +00:00
🙈 remove useless code
This commit is contained in:
parent
7cceb4bb80
commit
35c20d28aa
@ -1,9 +1,9 @@
|
|||||||
#!/bin/bash
|
#!/usr/bin/env bash
|
||||||
###
|
###
|
||||||
# @Author : yanyongyu
|
# @Author : yanyongyu
|
||||||
# @Date : 2021-03-25 16:22:18
|
# @Date : 2021-03-25 16:22:18
|
||||||
# @LastEditors : yanyongyu
|
# @LastEditors : yanyongyu
|
||||||
# @LastEditTime : 2021-03-25 16:42:58
|
# @LastEditTime : 2021-08-25 17:13:38
|
||||||
# @Description : None
|
# @Description : None
|
||||||
# @GitHub : https://github.com/yanyongyu
|
# @GitHub : https://github.com/yanyongyu
|
||||||
###
|
###
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
@Author : yanyongyu
|
@Author : yanyongyu
|
||||||
@Date : 2021-03-09 15:15:02
|
@Date : 2021-03-09 15:15:02
|
||||||
@LastEditors : yanyongyu
|
@LastEditors : yanyongyu
|
||||||
@LastEditTime : 2021-08-20 23:58:58
|
@LastEditTime : 2021-08-25 17:16:42
|
||||||
@Description : None
|
@Description : None
|
||||||
@GitHub : https://github.com/yanyongyu
|
@GitHub : https://github.com/yanyongyu
|
||||||
"""
|
"""
|
||||||
@ -127,8 +127,7 @@ async def handle_short(bot: Bot, event: GroupMessageEvent, state: T_State):
|
|||||||
img = await issue_to_image(owner, repo, issue_)
|
img = await issue_to_image(owner, repo, issue_)
|
||||||
except TimeoutException:
|
except TimeoutException:
|
||||||
await issue.finish(f"获取issue数据超时!请尝试重试")
|
await issue.finish(f"获取issue数据超时!请尝试重试")
|
||||||
except Error as e:
|
except Error:
|
||||||
print(repr(e))
|
|
||||||
await issue.finish(f"生成图片超时!请尝试重试")
|
await issue.finish(f"生成图片超时!请尝试重试")
|
||||||
else:
|
else:
|
||||||
if img:
|
if img:
|
||||||
|
Loading…
Reference in New Issue
Block a user