Thumbnail

rani/matterbridge.git

Clone URL: https://git.buni.party/rani/matterbridge.git

Viewing file on branch master

1/*
2This script will return the current time in kitchen format if the protocol (of the remote bridge) isn't irc
3See https://github.com/d5/tengo/blob/master/docs/stdlib-times.md
4This result can be used in {TENGO} in RemoteNickFormat
5*/
6times := import("times")
7if protocol != "irc" {
8 result=times.time_format(times.now(),times.format_kitchen)
9}
10