From c448b860e8374177e3b0298767d6f50ef2b2d3be Mon Sep 17 00:00:00 2001 From: Divanshu Chauhan Date: Sun, 4 Aug 2024 22:23:41 +0530 Subject: [PATCH] add notice: adminlist values may be cached --- alita/modules/admin.go | 2 ++ 1 file changed, 2 insertions(+) diff --git a/alita/modules/admin.go b/alita/modules/admin.go index 000ae9b4..8c5e9723 100644 --- a/alita/modules/admin.go +++ b/alita/modules/admin.go @@ -71,6 +71,8 @@ func (m moduleStruct) adminlist(b *gotgbot.Bot, ctx *ext.Context) error { } if !cached { text += "\n\nNote: These are up-to-date values" + } else { + text += "\n\nNote: These values are cached and may not be up-to-date" } _, err := msg.Reply(b, text, helpers.Shtml()) if err != nil {