-
-
Notifications
You must be signed in to change notification settings - Fork 119
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[Hockey] Fix some issues editing messages.
- Prevent trying to edit messages older than 1 hour which discord will ratelimit earlier. - Fix a bug where all goals were considered changed because the newly created goal had a URL object for the link while the temporary reconstructed goal object was a string. Leading to them being not equal and always editing goals every time we see them. - Add `__eq__` and `__ne__` methods to goals to more easily compare them to each other.
- Loading branch information
1 parent
4d4dfbf
commit 6bdc84f
Showing
2 changed files
with
37 additions
and
4 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters