• 欢迎来到小可 · Wiki,人人可编辑的,多平台聊天机器人“小可”的官方文档资源。
  • 小可很可爱,请给我们打钱
  • 原 MkDocs 已迁入本站。若发现 404 属正常现象,请点击左上角搜索您想要的模块。

github:修订间差异

来自小可 · Wiki,人人可编辑的,QQ机器人“小可”的官方文档资源
无编辑摘要
无编辑摘要
 
(未显示同一用户的5个中间版本)
第3行: 第3行:
* {{Instructor alias|gh}}
* {{Instructor alias|gh}}
}}
}}
 此模块可以 让你 查询 Github 的指定 repo(仓 或用户详情。
 此模块可以查询 Github 的指定 储存 库或用户详情。
{{Mbox sanity}}


==<code>github</code> ==
==<code>github</code> ==
第22行: 第23行:
 用法:<code>~github repo <储存库></code>
 用法:<code>~github repo <储存库></code>


 此命令可以 让你 查询 Github 的指定储存库详情。
 此命令可以查询 Github 的指定储存库详情。


{{Mbox
{{Mbox
|type=eg
|type=eg
|text=
|text=
  这是 返回的结果示例:
 返回的结果示例:
[[文件:akari-bot-github.png|缩略图]]
<pre>>>> ~github repo Teahouse-Studios/akari-bot
<pre>Teahouse-Studios/akari-bot (272003394)
<<< Teahouse-Studios/akari-bot (272003394)
 茶馆群内QQ机器人(小可)
 茶馆群内QQ机器人(小可)


第38行: 第39行:
Website: https://bot.teahouse.team
Website: https://bot.teahouse.team
https://github.com/Teahouse-Studios/akari-bot</pre>
https://github.com/Teahouse-Studios/akari-bot</pre>
[[File:akari-bot-github.png|thumb|left]]
}}
}}


第47行: 第49行:
 用法:<code>~github user <name></code>
 用法:<code>~github user <name></code>


 此命令可以 让你 查询 Github 的指定用户或组织详情。
 此命令可以查询 Github 的指定用户或组织详情。


{{Mbox
{{Mbox
|type=eg
|type=eg
|text=
|text=
  这是 返回的结果示例:
 返回的结果示例:
 
 组织:
 组织:
<pre>Teahouse-Studios aka Teahouse Studios (68471503)
<pre>>>> ~github user Teahouse-Studios
<<< Teahouse-Studios aka Teahouse Studios 茶馆工作室 (68471503)
 茶馆工作室,代表作品《梗体中文资源包》
 茶馆工作室,代表作品《梗体中文资源包》


Type · Organization | Follower · 0 | Following · 0 | Repo · 18 | Gist · 0
Type · Organization | Follower · 33 | Following · 0 | Repo · 44 | Gist · 0
Site · <nowiki>https://teahou.se/</nowiki> | Location · The one and only Earth
Site · https://teahouse.team/ | Location · China
Account Created 230 day(s) ago | Latest activity 18 day(s) ago
Account Created 1050 day(s) ago | Latest activity 21 day(s) ago


<nowiki>https://github.com/Teahouse-Studios</nowiki></pre>
https://github.com/Teahouse-Studios</pre>
 用户:
 用户:
<pre>Dianliang233 aka Dianliang233 (45287180)
<pre>>>> ~github user Dianliang233
<<< Dianliang233 aka Dianliang233 (45287180)
To 🐝 or not to 🐝, that is a question.
To 🐝 or not to 🐝, that is a question.


第82行: 第85行:
|type=eg
|type=eg
|text=
|text=
  这是 返回的结果示例
 返回的结果示例:
 
<pre>>>> ~github search teahouse-studios
组织
<<< 搜索成功 共 6 条结果:
<pre>Teahouse-Studios aka Teahouse Studios (68471503)
Teahouse-Studios/teahouse-studios.github.io: https://github.com/Teahouse-Studios/teahouse-studios.github.io
  茶馆工作室 代表作品《梗体中文资源包》
OasisAkari/status_bot: https://github.com/OasisAkari/status_bot
 
xtexChooser/LibTinter: https://github.com/xtexChooser/LibTinter
Type · Organization | Follower · 0 | Following · 0 | Repo · 18 | Gist · 0
Teahouse-Studios/_LittleK_: https://github.com/Teahouse-Studios/_LittleK_
Site · <nowiki>https://teahou.se/</nowiki> | Location · The one and only Earth
Teahouse-Studios/status: https://github.com/Teahouse-Studios/status
Account Created 230 day(s) ago | Latest activity 18 day(s) ago
另有 1 条结果未显示。</pre>
 
<nowiki>https://github.com/Teahouse-Studios</nowiki></pre>
用户:
<pre>Dianliang233 aka Dianliang233 (45287180)
To 🐝 or not to 🐝, that is a question.
 
Type · User | Follower · 8 | Following · 2 | Repo · 27 | Gist · 5
Work · @Teahouse-Studios & @WDFunction | Site · <nowiki>https://powerdia.nl</nowiki> | Location · Shanghai, China
Account Created 833 day(s) ago | Latest activity 8 hour(s) ago
 
<nowiki>https://github.com/Dianliang233</nowiki></pre>
}}
}}
{{Mbox sanity}}


{{Navbox modules|GitHub}}
{{Navbox modules|GitHub}}

2023年10月1日 (日) 18:26的最新版本

  •  别名:gh

此模块可以查询 Github 的指定储存库或用户详情。

警告
某些网站已经被列入黑名单,使用此命令无法获取某些网站的某些信息。即使网站不在黑名单内,返回的内容仍将经过小可云智能过滤。请不要作死。

github

用法:~github <储存库或用户>

此命令会尝试自动识别并区分储存库或用户。

github repo

用法:~github repo <储存库>

此命令可以查询 Github 的指定储存库详情。

例子
返回的结果示例:
>>> ~github repo Teahouse-Studios/akari-bot
<<< Teahouse-Studios/akari-bot (272003394)
茶馆群内QQ机器人(小可)

Language · Python | Fork · 24 | Star · 125 | Watch · 125
License: AGPL-3.0
Created 1086 day(s) ago | Updated 9 day(s) ago

Website: https://bot.teahouse.team
https://github.com/Teahouse-Studios/akari-bot

github user

用法:~github user <name>

此命令可以查询 Github 的指定用户或组织详情。

例子
返回的结果示例:

组织:

>>> ~github user Teahouse-Studios
<<< Teahouse-Studios aka Teahouse Studios 茶馆工作室 (68471503)
茶馆工作室,代表作品《梗体中文资源包》

Type · Organization | Follower · 33 | Following · 0 | Repo · 44 | Gist · 0
Site · https://teahouse.team/ | Location · China
Account Created 1050 day(s) ago | Latest activity 21 day(s) ago

https://github.com/Teahouse-Studios

用户:

>>> ~github user Dianliang233
<<< Dianliang233 aka Dianliang233 (45287180)
To 🐝 or not to 🐝, that is a question.

Type · User | Follower · 8 | Following · 2 | Repo · 27 | Gist · 5
Work · @Teahouse-Studios & @WDFunction | Site · https://powerdia.nl | Location · Shanghai, China
Account Created 833 day(s) ago | Latest activity 8 hour(s) ago

https://github.com/Dianliang233

github search

用法:~github search <关键词>

此命令可以搜索 GitHub 上的储存库。

例子
返回的结果示例:
>>> ~github search teahouse-studios
<<< 搜索成功,共 6 条结果:
Teahouse-Studios/teahouse-studios.github.io: https://github.com/Teahouse-Studios/teahouse-studios.github.io
OasisAkari/status_bot: https://github.com/OasisAkari/status_bot
xtexChooser/LibTinter: https://github.com/xtexChooser/LibTinter
Teahouse-Studios/_LittleK_: https://github.com/Teahouse-Studios/_LittleK_
Teahouse-Studios/status: https://github.com/Teahouse-Studios/status
另有 1 条结果未显示。
Cookie帮助我们提供我们的服务。通过使用我们的服务,您同意我们使用cookie。