mirror of
https://github.com/42wim/matterbridge.git
synced 2024-12-21 02:22:34 +01:00
10 lines
346 B
Plaintext
10 lines
346 B
Plaintext
|
/*
|
||
|
This script will return the current time in kitchen format if the protocol (of the remote bridge) isn't irc
|
||
|
See https://github.com/d5/tengo/blob/master/docs/stdlib-times.md
|
||
|
This result can be used in {TENGO} in RemoteNickFormat
|
||
|
*/
|
||
|
times := import("times")
|
||
|
if protocol != "irc" {
|
||
|
result=times.time_format(times.now(),times.format_kitchen)
|
||
|
}
|