[PR #2581] [MERGED] feat(tgbot): Allow restart core via telegram bot #5157

Closed
opened 2026-10-31 20:45:05 +07:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/MHSanaei/3x-ui/pull/2581
Author: @najahiiii
Created: 10/11/2024
Status: ✅ Merged
Merged: 10/16/2024
Merged by: @MHSanaei

Base: main ← Head: tgbot/restart


📝 Commits (4)

  • b25f7c2 feat(tgbot): Allow restart core via telegram bot
  • d89d8ec I18n(tgbot): Continue translation updates (bc7e1aad68cd9264520ce61ce153543ad4ab0877)
  • 22de381 fix(tgbot): Only show usage command for admins
  • efc752d Refactor commands and improve error handling

📊 Changes

12 files changed (+99 additions, -24 deletions)

View changed files

📝 web/service/tgbot.go (+43 -12)
📝 web/translation/translate.en_US.toml (+5 -1)
📝 web/translation/translate.es_ES.toml (+5 -1)
📝 web/translation/translate.fa_IR.toml (+5 -1)
📝 web/translation/translate.id_ID.toml (+6 -2)
📝 web/translation/translate.pt_BR.toml (+5 -1)
📝 web/translation/translate.ru_RU.toml (+5 -1)
📝 web/translation/translate.tr_TR.toml (+5 -1)
📝 web/translation/translate.uk_UA.toml (+5 -1)
📝 web/translation/translate.vi_VN.toml (+5 -1)
📝 web/translation/translate.zh_CN.toml (+5 -1)
📝 web/translation/translate.zh_TW.toml (+5 -1)

📄 Description

Usage /restart force


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/MHSanaei/3x-ui/pull/2581 **Author:** [@najahiiii](https://github.com/najahiiii) **Created:** 10/11/2024 **Status:** ✅ Merged **Merged:** 10/16/2024 **Merged by:** [@MHSanaei](https://github.com/MHSanaei) **Base:** `main` ← **Head:** `tgbot/restart` --- ### 📝 Commits (4) - [`b25f7c2`](https://github.com/MHSanaei/3x-ui/commit/b25f7c2ae520d533f8957a54d1e049909e354df6) feat(tgbot): Allow restart core via telegram bot - [`d89d8ec`](https://github.com/MHSanaei/3x-ui/commit/d89d8ece72beabb9b70f3a7c40c3d44eaea7ccfd) I18n(tgbot): Continue translation updates (bc7e1aad68cd9264520ce61ce153543ad4ab0877) - [`22de381`](https://github.com/MHSanaei/3x-ui/commit/22de381e54f9cce259a21fb088e21000787ca78c) fix(tgbot): Only show usage command for admins - [`efc752d`](https://github.com/MHSanaei/3x-ui/commit/efc752d68b63a49497439a9c3d2f5b88c17868a8) Refactor commands and improve error handling ### 📊 Changes **12 files changed** (+99 additions, -24 deletions) <details> <summary>View changed files</summary> 📝 `web/service/tgbot.go` (+43 -12) 📝 `web/translation/translate.en_US.toml` (+5 -1) 📝 `web/translation/translate.es_ES.toml` (+5 -1) 📝 `web/translation/translate.fa_IR.toml` (+5 -1) 📝 `web/translation/translate.id_ID.toml` (+6 -2) 📝 `web/translation/translate.pt_BR.toml` (+5 -1) 📝 `web/translation/translate.ru_RU.toml` (+5 -1) 📝 `web/translation/translate.tr_TR.toml` (+5 -1) 📝 `web/translation/translate.uk_UA.toml` (+5 -1) 📝 `web/translation/translate.vi_VN.toml` (+5 -1) 📝 `web/translation/translate.zh_CN.toml` (+5 -1) 📝 `web/translation/translate.zh_TW.toml` (+5 -1) </details> ### 📄 Description Usage `/restart force` --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 20:45:05 +07:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
MHSanaei/3x-ui#5157
No description provided.