fiskenslakt / pzsd-bot

Discord bot for PZSD server
MIT License
2 stars 0 forks source link

Reconsider a message as a point transaction after being edited #26

Open fiskenslakt opened 4 months ago

fiskenslakt commented 4 months ago

If someone sends a message that was previously not a valid point transaction, and then edits that message, check the message again. This should probably have a short time limit to prevent anyone from editing messages that are days or months old into point transactions. Maybe limit to just a minute, maybe 5?

This does create a problem of someone editing their message over and over again to create multiple point transactions, so it might be necessary to start storing the message ID in the point transaction record.