shut off skill

fukurou

the supreme coder
ADMIN
Python:
import sys

class DiShutOff(Skill):
    def __init__(self):
        super().__init__()  # Call the parent class constructor

    def input(self, ear, skin, eye):
        if ear == "shut it down":
            print("Shutting down...")  # Optional confirmation message
            sys.exit()  # Properly terminate the script

    def skillNotes(self, param: str) -> str:
        if param == "notes":
            return "This skill shuts down the program when triggered with 'shut it down'."
        elif param == "triggers":
            return "Trigger shutdown with 'shut it down'. Previously used for a tea party, but now it's serious!"
        return "Note unavailable"
 
Top