From 462f310b62e490fee33b83f20f13260b3dc400e9 Mon Sep 17 00:00:00 2001 From: Knut Ahlers Date: Fri, 1 Oct 2021 22:50:16 +0200 Subject: [PATCH] [wiki] Document `botHasBadge` function Signed-off-by: Knut Ahlers --- wiki/Home.md | 1 + 1 file changed, 1 insertion(+) diff --git a/wiki/Home.md b/wiki/Home.md index 287273d..7185ebb 100644 --- a/wiki/Home.md +++ b/wiki/Home.md @@ -131,6 +131,7 @@ There are certain variables available in the strings with templating enabled: Additionally there are some functions available in the templates: - `arg ` - Takes the message sent to the channel, splits by space and returns the Nth element +- `botHasBadge ` - Checks whether bot has the given badge in the current channel - `channelCounter ` - Wraps the counter name into a channel specific counter name including the channel name - `concat <...parts>` - Join the given string parts with delimiter - `counterValue ` - Returns the current value of the counter which identifier was supplied