Glowers Club


This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
wiki:newfriends [2021/06/19 19:00]
kakol [How do I greentext?]
wiki:newfriends [2021/06/19 19:01] (current)
kakol [How do I greentext?]
Line 73: Line 73:
 <code bash> <code bash>
 function mxSendGreentext () { function mxSendGreentext () {
     if [ -z "$1" ]; then     if [ -z "$1" ]; then
Line 87: Line 87:
     curl -X PUT -H "Authorization: Bearer $MX_ACCESS_TOKEN" -d "$data" "$MX_HOMESERVER/_matrix/client/r0/rooms/$1/send/$tx"     curl -X PUT -H "Authorization: Bearer $MX_ACCESS_TOKEN" -d "$data" "$MX_HOMESERVER/_matrix/client/r0/rooms/$1/send/$tx"
 } }
 +# mxSendGreentext "!room:homeserver.local" "$(ddate)"
 </code> </code>