From 3e48f4b805c6c9caafeadc3beab9080d6ac3ef3b Mon Sep 17 00:00:00 2001
From: Hydroerotic <100773484+Hydroerotic@users.noreply.github.com>
Date: Sat, 11 May 2024 13:55:15 +0300
Subject: [PATCH] Update macros.html
---
public/scripts/templates/macros.html | 1 +
1 file changed, 1 insertion(+)
diff --git a/public/scripts/templates/macros.html b/public/scripts/templates/macros.html
index dbb50db80..3d5fa6937 100644
--- a/public/scripts/templates/macros.html
+++ b/public/scripts/templates/macros.html
@@ -33,6 +33,7 @@
{{isodate}} – the current ISO date (YYYY-MM-DD)
{{datetimeformat …}} – the current date/time in the specified format, e. g. for German date/time: {{datetimeformat DD.MM.YYYY HH:mm}}
{{time_UTC±#}} – the current time in the specified UTC time zone offset, e.g. UTC-4 or UTC+2
+ {{timeDiff::(time1)::(time2)}} – the time difference between time1 and time2. Accepts time and date macros. (Ex: {{timeDiff::{{isodate}} {{time}}::2024/5/11 12:30:00}})
{{idle_duration}} – the time since the last user message was sent
{{bias "text here"}} – sets a behavioral bias for the AI until the next user input. Quotes around the text are important.
{{roll:(formula)}} – rolls a dice. (ex: >{{roll:1d6}} will roll a 6-sided dice and return a number between 1 and 6)