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
|
||||
# @Date : 2021-03-25 16:22:18
|
||||
# @LastEditors : yanyongyu
|
||||
# @LastEditTime : 2021-03-25 16:42:58
|
||||
# @LastEditTime : 2021-08-25 17:13:38
|
||||
# @Description : None
|
||||
# @GitHub : https://github.com/yanyongyu
|
||||
###
|
||||
|
@ -4,7 +4,7 @@
|
||||
@Author : yanyongyu
|
||||
@Date : 2021-03-09 15:15:02
|
||||
@LastEditors : yanyongyu
|
||||
@LastEditTime : 2021-08-20 23:58:58
|
||||
@LastEditTime : 2021-08-25 17:16:42
|
||||
@Description : None
|
||||
@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_)
|
||||
except TimeoutException:
|
||||
await issue.finish(f"获取issue数据超时!请尝试重试")
|
||||
except Error as e:
|
||||
print(repr(e))
|
||||
except Error:
|
||||
await issue.finish(f"生成图片超时!请尝试重试")
|
||||
else:
|
||||
if img:
|
||||
|
Loading…
Reference in New Issue
Block a user