Open Audionut opened 3 months ago
Chatgpt says something different than what you say. You say "time limit between invites", while your code allows someone to invite one user on July 31st at 23:59 and another user on August 1st 00:00.
The user table also has too many columns, it would be better to just check the created_at timestamp of the last invite the user sent.
Hard-coding the interval to 1 month probably isn't best either. Either a config option or saving the interval in the groups table would be better, that way it can be configurable per group as well.
The ability to place a time limit between invite purchases.
ChatGTP reckons a migration to update the database.
Then it can be defined with the existing invite limitation:
Upvote & Fund