a [matrix] ping bot in PowerShell
Nevar pievienot vairāk kā 25 tēmas Tēmai ir jāsākas ar burtu vai ciparu, tā var saturēt domu zīmes ('-') un var būt līdz 35 simboliem gara.
lub 94179601b7 fix regex to react only on !ping or !ping <msg> pirms 2 mēnešiem
Dockerfile add Dockerfile and shebang pirms 4 mēnešiem
LICENSE.md add LICENSE.md pirms 4 mēnešiem
README.md add readme pirms 2 mēnešiem
bot.ps1 fix regex to react only on !ping or !ping <msg> pirms 2 mēnešiem


You can discuss this bot in #pingposh:imninja.net

This is a simple Matrix bot to participate in #ping:maunium.net


It automatically joins on invites. If someone sends a !ping or !ping <text>, it echoes back an m.notice with the following attributes:

"pong": {
      "ms": <difference of origin_server_ts and now>,
      "from": "<origin homeserver>",
      "ping": "<!ping event>"


It is configured via command line parameters or environment variables. Have a look at the param block at the beginning of bot.ps1 for all configuration options.

Example configuration with environment variables:

HOMESERVER: 'http://synapse:8008'
USERID: '@pingposh:imninja.net'
ACCESSTOKEN_FILE: '/run/secrets/pingposh_accesstoken'