Rechercher

PythonReactSEOPDF
GitHub Skill

system-control

Allows the agent to restart or shut down the bot.

kaivyy☆ 13 Étoiles du dépôt4 Forks du dépôt

Installation

Suivez les instructions du dépôt pour votre agent. Consultez les fichiers et dépendances avant l’installation.

Voir la source ↗Guides

Instructions

System Control Skill

This skill allows the agent to restart or shut down the bot.

Commands

Restart

Restart the bot. This is useful when the bot needs to reload code, clear memory, or recover from an unstable state. The bot will exit with code 42, which should be handled by the supervisor/watchdog to trigger a restart.

Usage:

python -m kabot.skills.system-control.restart --chat-id <CHAT_ID> --message "I'm back!" --channel <telegram|discord>

Arguments:

  • --chat-id: The ID of the chat where the bot should send a message after restarting.
  • --message: The text message to send after restart.
  • --channel: The platform channel (e.g., 'telegram', 'discord').
Shutdown

Shut down the bot completely.

Usage:

python -m kabot.skills.system-control.shutdown

Exemples

Consultez les exemples du dépôt source.

Voir la source ↗

Historique source

Date d’indexation
2026-03-11
Mise à jour de l’index
2026-03-11
Branch
main

Les dates concernent ce répertoire. Consultez le dépôt pour l’historique du code.

GitHub ↗

chat Comments (0)

chat_bubble_outline

No comments yet. Be the first to share your thoughts!