some fixes; in hub now pushes dev tag

This commit is contained in:
2026-01-28 13:42:04 +03:00
parent 3e6032d6bc
commit 6c47d05e9c
10 changed files with 39 additions and 22 deletions

View File

@@ -35,7 +35,6 @@ func RegisterRP(bot *laniakea.Bot) {
rp.Command(rpUserPromptSet, "rpuserpset")
rp.Command(generate, "g", "gen", "г")
rp.Payload(compress, "rp.compress_chat")
rp.Payload(generalClose, "general.close")
bot.AddPlugins(rp.Build())
}
@@ -647,7 +646,3 @@ func compress(ctx *laniakea.MsgContext, db *laniakea.DatabaseContext) {
kb = kb.AddCallbackButton("На главную", "rp.info")
ctx.EditCallback("Сжатие завершено", kb)
}
func generalClose(ctx *laniakea.MsgContext, _ *laniakea.DatabaseContext) {
ctx.CallbackDelete()
}