from discord import Message from psutil import Process from dibug.classes.command import DibugCommand [docs]class KillCommand(DibugCommand): aliases = ["kill", "k", "shutdown"] [docs] async def execute(self, msg: Message, args: str) -> None: await msg.reply("Shutting down...") process = Process() process.kill()