Skip to content

Commit

Permalink
better message
Browse files Browse the repository at this point in the history
  • Loading branch information
Starlii10 committed Nov 3, 2024
1 parent f52fac0 commit d696fc2
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 0 deletions.
2 changes: 2 additions & 0 deletions commands/viviabase/purge.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ async def purge(ctx: commands.Context, start: int = None, end: int = None):
- If end is None, all messages starting from the start are purged.
"""

await ctx.send(personalityMessage("purging") + "\n-# This may take a while. Vivia will most likely get rate limited...")

if start == None and end == None:
await ctx.channel.purge()
else:
Expand Down
9 changes: 9 additions & 0 deletions data/personalityMessages/purging.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
{
"messages": [
"Getting rid of chat!",
"Messages are getting deleted.",
"Deleting messages...",
"Purging chat.",
"Chat is being erased."
]
}

0 comments on commit d696fc2

Please sign in to comment.