2021-02-14 10:57:35 +03:00
|
|
|
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>'
|
2021-01-14 13:58:29 +03:00
|
|
|
+ '+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>'
|
2020-05-16 20:01:56 +03:00
|
|
|
+ '+reply [post id] [content] : reply to post<br>'
|
2021-01-14 13:58:29 +03:00
|
|
|
+ '+tip [@user@fedi.url] [amount] : tip 10grans<br>'
|
2021-02-22 12:48:10 +03:00
|
|
|
+ '+makeitrain [post id] : make it rain 10grans<br>'
|
2021-01-14 13:58:29 +03:00
|
|
|
+ '+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
|
|
|
};
|