Skip to content

Commit

Permalink
add notice: adminlist values may be cached
Browse files Browse the repository at this point in the history
  • Loading branch information
Divkix committed Aug 4, 2024
1 parent c7166b7 commit c448b86
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions alita/modules/admin.go
Original file line number Diff line number Diff line change
Expand Up @@ -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 {
Expand Down

0 comments on commit c448b86

Please sign in to comment.