8e2ce18f26
feat(fediverse): direct messaging and follower-only posting [kakashi] feat(config): emoji customization available in config [kakashi] fix(cmd): unroll by text [kakashi] refactor(reacts): timeline minimum +4 events => timeline minimum +1 events [kakashi] chore(deps): upgrade matrix-js-sdk, olm, qs chore(package): bump version
34 lines
1.8 KiB
JavaScript
34 lines
1.8 KiB
JavaScript
exports.runQuery = function (roomId) {
|
|
matrixClient.sendHtmlNotice(roomId,
|
|
' ',
|
|
'<blockquote><b>fediverse commands<br>'
|
|
+ '+post [your message] : post<br>'
|
|
+ '+direct [@recipient] [message] : direct message<br>'
|
|
+ '+private [message] : follower-only message<br>'
|
|
+ '+redact [post id] : delete post<br>'
|
|
+ '+follow [user id] : follow<br>'
|
|
+ '+unfollow [user id] : unfollow<br>'
|
|
+ '+media [homeserver image URL or MXC] [optional message] : post media<br>'
|
|
+ '+copy [post id] : repeat/repost/retweet<br>'
|
|
+ '+reply [post id] [content] : reply to post<br>'
|
|
+ '+tip [@user@fedi.url] [amount] : tip 10grans<br>'
|
|
+ '+makeitrain [post id] : make it rain 10grans<br>'
|
|
+ '+beg : beg for 10grans<br>'
|
|
+ '+clap [post id] : favorite<br>'
|
|
+ '+boo [post id] : unfavorite</blockquote>'
|
|
+ '<blockquote><b>channel commands<br>'
|
|
+ '+flood : turn on timeline in channel<br>'
|
|
+ '+notify : show notifications in channel<br>'
|
|
+ '+unflood : stop timeline in channel<br>'
|
|
+ '+unnotify : stop notifications in channel<br>'
|
|
+ '+archive [URL] : archive content<br>'
|
|
+ '+rearchive [URL] : re-archive content<br>'
|
|
+ '+nitter [status URL] : redirect twitter to nitter, also embed tweet<br>'
|
|
+ '+invidious [video URL] : redirect youtube to invidious, also embed description<br>'
|
|
+ '+proxy [twitter/youtube]: both +nitter and +invidious commands combined</b><br></blockquote>'
|
|
+ `<blockquote><b>ligh7hau5 version ${require('../package.json').version}</b><br>`
|
|
+ '<b>--- <i>Contributors🐱</i> ---</b><br>'
|
|
+ '<b>CRYPTOMOONERS</b><br>'
|
|
+ '<b><i>docs by LINT</i></b></blockquote>'
|
|
);
|
|
};
|