1
Fork 0
mirror of https://github.com/allthingslinux/tux.git synced 2024-10-03 09:03:12 +00:00

Clarify the harmful message warning to actually explain why it may be harmful so ignorant people don't execute it out of negligence.

This commit is contained in:
izder456 2024-08-14 12:56:23 -05:00
parent fc242be8f3
commit b1f60ac0d4

View file

@ -26,7 +26,7 @@ class EventHandler(commands.Cog):
if is_harmful(stripped_content):
await message.reply(
"Warning: This command is potentially harmful. Please avoid running it unless you're fully aware of it's operation. If this was a mistake, disregard this message.",
"Warning: This command is potentially harmful. This will delete the directory and all of its contents. There is no undo button to this operation when executed. Make sure you understand this before executing this potentially harmful command. You have been warned. Please ignore this message if you believe to have recieved it in error.",
)
@commands.Cog.listener()