chore(help): update help commands

This commit is contained in:
vulet 2021-02-01 17:58:17 +08:00
parent 1a7d361b5d
commit 33a262990c

View file

@ -1,11 +1,13 @@
exports.runQuery = function (matrixClient, room) { exports.runQuery = function (matrixClient, room) {
matrixClient.sendHtmlNotice(room.roomId, matrixClient.sendHtmlNotice(room.roomId,
'', '',
'<blockquote><b>fediverse commands<br>' '<blockquote>ligh7hau5 version 1.1.0<br>'
+ '+plemara [your message] : post<br>' + '<b>fediverse commands<br>'
+ '+post [your message] : post<br>'
+ '+redact [post id] : delete post<br>' + '+redact [post id] : delete post<br>'
+ '+follow [user id] : follow<br>' + '+follow [user id] : follow<br>'
+ '+unfollow [user id] : unfollow<br>' + '+unfollow [user id] : unfollow<br>'
+ '+media [homeserver image URL or MXC] [optional message] : post media<br>'
+ '+copy [post id] : repeat/repost/retweet<br>' + '+copy [post id] : repeat/repost/retweet<br>'
+ '+reply [post id] [content] : reply to post<br>' + '+reply [post id] [content] : reply to post<br>'
+ '+tip [@user@fedi.url] [amount] : tip 10grans<br>' + '+tip [@user@fedi.url] [amount] : tip 10grans<br>'
@ -18,7 +20,8 @@ exports.runQuery = function (matrixClient, room) {
+ '+archive [URL] : archive content<br>' + '+archive [URL] : archive content<br>'
+ '+rearchive [URL] : re-archive content<br>' + '+rearchive [URL] : re-archive content<br>'
+ '+nitter [status URL] : redirect twitter to nitter, also embed tweet<br>' + '+nitter [status URL] : redirect twitter to nitter, also embed tweet<br>'
+ '+invidious [video URL] : redirect youtube to invidious, also embed description</b><br></blockquote>' + '+invidious [video URL] : redirect youtube to invidious, also embed description<br>'
+ '+proxy [twitter/youtube]: both +nitter and +invidious commands combined</b><br></blockquote>'
+ '<blockquote><b>--- <i>Contributors🐱</i> ---</b><br>' + '<blockquote><b>--- <i>Contributors🐱</i> ---</b><br>'
+ '<b>CRYPTOMOONERS</b><br>' + '<b>CRYPTOMOONERS</b><br>'
+ '<b><i>docs by LINT</i></b></blockquote>'); + '<b><i>docs by LINT</i></b></blockquote>');