Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: 🚸 add penalty cost if spamming messages
If a user sends messages too fast, it will give them a penalty defined by "penaltyAmount" so that users will lose credits by spamming. Spam rate is set by "maxMessageAmount" which is how many messages a user is allowed to send during "checkTime"
- Loading branch information