mirror of
https://github.com/LiteyukiStudio/LiteyukiBot.git
synced 2024-11-11 05:17:24 +08:00
📦 docs: 资源商店新增发布资源功能
This commit is contained in:
parent
7d5675ec97
commit
db1fb58717
@ -114,9 +114,9 @@ def add_resource(github: Github, issue: Issue, repo: Repository):
|
|||||||
resources = json.load(open(RESOURCE_JSON))
|
resources = json.load(open(RESOURCE_JSON))
|
||||||
resources.append({
|
resources.append({
|
||||||
"name" : name,
|
"name" : name,
|
||||||
"desc" : desc,
|
"description": desc,
|
||||||
"link" : link,
|
"link" : link,
|
||||||
"homepage": homepage,
|
"homepage" : homepage,
|
||||||
"author" : author
|
"author" : author
|
||||||
})
|
})
|
||||||
ref = repo.get_git_ref("heads/main")
|
ref = repo.get_git_ref("heads/main")
|
||||||
|
Loading…
Reference in New Issue
Block a user