Skip to content
Merged
Show file tree
Hide file tree
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
8 changes: 5 additions & 3 deletions changelog.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,11 @@ Changes since 2026.06.04
### XKCD
- Migrates to application commands

## Internal

### Data delete
- New module that has a command that allows users to delete some of their own data from the bot

## Moderation

### Events
Expand Down Expand Up @@ -78,9 +83,6 @@ Changes since 2026.06.04
### Application
- Application will now display discord timestamps instead of plain text for pending application reminder loops

### Data delete
- New module that has a command that allows users to delete some of their own data from the bot

### Factoid
- The /factoid call command now has an optional parameter to ping a member in the factoid display
- Factoids called using /factoid call will now have a button to allow the invoker to delete the factoid
Expand Down
1 change: 1 addition & 0 deletions modules/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@

from .administration import *
from .fun import *
from .internal import *
from .moderation import *
from .operation import *
from .utility import *
14 changes: 11 additions & 3 deletions modules/operation/datadelete.py → modules/internal/datadelete.py
Original file line number Diff line number Diff line change
Expand Up @@ -25,10 +25,18 @@ async def setup(bot: bot.TechSupportBot) -> None:


class DataDeleter(cogs.BaseCog):
"""The cog that holds the data delete commands and helper functions"""
"""The cog that holds the data delete commands and helper functions

@app_commands.command(
name="data_delete",
Attributes:
data_group (app_commands.Group): The group for the /data commands
"""

data_group: app_commands.Group = app_commands.Group(
name="data", description="Command Group for individual data management"
)

@data_group.command(
name="delete",
description="Deletes your data from the databases in the bot",
extras={"ephemeral_error": True, "always_enabled": True},
)
Expand Down
Loading