2021-02-14 15:57:35 +08:00
|
|
|
exports.runQuery = function (roomId) {
|
|
|
|
matrixClient.sendHtmlNotice(roomId,
|
2022-04-26 03:09:55 +00:00
|
|
|
' ',
|
2021-02-01 21:21:53 +08:00
|
|
|
'<blockquote><b>fediverse commands<br>'
|
2021-02-01 17:58:17 +08:00
|
|
|
+ '+post [your message] : post<br>'
|
2023-08-23 15:25:48 +08:00
|
|
|
+ '+direct [@recipient] [message] : direct message<br>'
|
|
|
|
+ '+private [message] : follower-only message<br>'
|
2019-07-04 19:49:55 -04:00
|
|
|
+ '+redact [post id] : delete post<br>'
|
2021-01-14 18:58:29 +08:00
|
|
|
+ '+follow [user id] : follow<br>'
|
|
|
|
+ '+unfollow [user id] : unfollow<br>'
|
2021-02-01 17:58:17 +08:00
|
|
|
+ '+media [homeserver image URL or MXC] [optional message] : post media<br>'
|
2019-07-03 17:27:39 -04:00
|
|
|
+ '+copy [post id] : repeat/repost/retweet<br>'
|
2020-05-17 01:01:56 +08:00
|
|
|
+ '+reply [post id] [content] : reply to post<br>'
|
2021-01-14 18:58:29 +08:00
|
|
|
+ '+tip [@user@fedi.url] [amount] : tip 10grans<br>'
|
2021-02-22 17:48:10 +08:00
|
|
|
+ '+makeitrain [post id] : make it rain 10grans<br>'
|
2021-01-14 18:58:29 +08:00
|
|
|
+ '+beg : beg for 10grans<br>'
|
2019-07-03 17:27:39 -04:00
|
|
|
+ '+clap [post id] : favorite<br>'
|
|
|
|
+ '+boo [post id] : unfavorite</blockquote>'
|
|
|
|
+ '<blockquote><b>channel commands<br>'
|
2020-06-28 15:07:58 +08:00
|
|
|
+ '+flood : turn on timeline in channel<br>'
|
2020-06-28 15:27:50 +08:00
|
|
|
+ '+notify : show notifications in channel<br>'
|
2022-01-24 17:53:34 +08:00
|
|
|
+ '+unflood : stop timeline in channel<br>'
|
|
|
|
+ '+unnotify : stop notifications in channel<br>'
|
2020-06-28 15:07:58 +08: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 17:58:17 +08: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 21:21:53 +08:00
|
|
|
+ `<blockquote><b>ligh7hau5 version ${require('../package.json').version}</b><br>`
|
|
|
|
+ '<b>--- <i>Contributors🐱</i> ---</b><br>'
|
2020-06-28 15:27:50 +08:00
|
|
|
+ '<b>CRYPTOMOONERS</b><br>'
|
2021-02-01 21:21:53 +08:00
|
|
|
+ '<b><i>docs by LINT</i></b></blockquote>'
|
|
|
|
);
|
2019-07-03 17:27:39 -04:00
|
|
|
};
|