ligh7hau5/commands/help.js

31 lines
1.6 KiB
JavaScript
Raw Normal View History

exports.runQuery = function (roomId) {
matrixClient.sendHtmlNotice(roomId,
2019-07-04 00:27:39 +03:00
'',
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>'
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>'
+ '+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>'
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
};