Skip to content
This repository was archived by the owner on Feb 7, 2026. It is now read-only.
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
12 changes: 12 additions & 0 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -555,6 +555,18 @@ async def reload(ctx: ApplicationContext, cog: str):
)
)

# Core Developer Commands
@client.slash_command(
name="shutdown",
description="Shut down the bot as a developer."
)
async def shutdown(ctx: ApplicationContext):
"""Shut down the bot as a developer."""
if ctx.author.id != 738290097170153472:
return await ctx.respond("You can't use this command!", ephemeral=True)
ctx.respond(":sleeping: Acknowledged. Isobot will now shut down.")
raise SystemExit

# Settings commands
config = client.create_group("settings", "Commands used to change bot settings.")

Expand Down