ligh7hau5/commands/help.js

36 lines
1.9 KiB
JavaScript
Raw Normal View History

exports.runQuery = function (roomId) {
matrixClient.sendHtmlNotice(roomId,
' ',
2021-02-01 16:21:53 +03:00
'<blockquote><b>fediverse commands<br>'
2021-02-01 12:58:17 +03:00
+ '+post [your message] : post<br>'
+ '+direct [@recipient] [message] : direct message<br>'
+ '+private [message] : follower-only message<br>'
2019-07-05 02:49:55 +03:00
+ '+redact [post id] : delete post<br>'
+ '+follow [user id] : follow<br>'
+ '+unfollow [user id] : unfollow<br>'
2021-02-01 12:58:17 +03:00
+ '+media [homeserver image URL or MXC] [optional message] : post media<br>'
2019-07-04 00:27:39 +03:00
+ '+copy [post id] : repeat/repost/retweet<br>'
2023-09-04 13:01:07 +03:00
+ '+crossblog [status URL]: cross blog twitter post to fediverse post<br>'
+ '+reply [post id] [content] : reply to post<br>'
+ '+tip [@user@fedi.url] [amount] : tip 10grans<br>'
2021-02-22 12:48:10 +03:00
+ '+makeitrain [post id] : make it rain 10grans<br>'
+ '+beg : beg for 10grans<br>'
2019-07-04 00:27:39 +03:00
+ '+clap [post id] : favorite<br>'
+ '+boo [post id] : unfavorite</blockquote>'
+ '<blockquote><b>channel commands<br>'
2020-06-28 10:07:58 +03:00
+ '+flood : turn on timeline in channel<br>'
2020-06-28 10:27:50 +03:00
+ '+notify : show notifications in channel<br>'
+ '+unflood : stop timeline in channel<br>'
+ '+unnotify : stop notifications in channel<br>'
2020-06-28 10:07:58 +03:00
+ '+archive [URL] : archive content<br>'
+ '+rearchive [URL] : re-archive content<br>'
+ '+nitter [status URL] : redirect twitter to nitter, also embed tweet<br>'
2021-02-01 12:58:17 +03:00
+ '+invidious [video URL] : redirect youtube to invidious, also embed description<br>'
+ '+proxy [twitter/youtube]: both +nitter and +invidious commands combined</b><br></blockquote>'
2021-02-01 16:21:53 +03:00
+ `<blockquote><b>ligh7hau5 version ${require('../package.json').version}</b><br>`
+ '<b>--- <i>Contributors🐱</i> ---</b><br>'
2020-06-28 10:27:50 +03:00
+ '<b>CRYPTOMOONERS</b><br>'
2021-02-01 16:21:53 +03:00
+ '<b><i>docs by LINT</i></b></blockquote>'
);
2019-07-04 00:27:39 +03:00
};