2021-02-14 10:57:35 +03:00
|
|
|
exports.runQuery = function (roomId) {
|
|
|
|
matrixClient.sendHtmlNotice(roomId,
|
2022-04-26 06:09:55 +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>'
|
2023-08-23 10:25:48 +03:00
|
|
|
+ '+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>'
|
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>'
|
2023-09-04 13:01:07 +03:00
|
|
|
+ '+crossblog [status URL]: cross blog twitter post to fediverse post<br>'
|
2020-05-16 20:01:56 +03:00
|
|
|
+ '+reply [post id] [content] : reply to post<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>'
|
2022-01-24 12:53:34 +03:00
|
|
|
+ '+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>'
|
2024-09-29 20:53:07 +03:00
|
|
|
+ '<b>doesnm</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
|
|
|
};
|