diff options
| author | 2021-04-17 08:45:16 +0530 | |
|---|---|---|
| committer | 2021-10-11 12:05:33 +0530 | |
| commit | a1bb6f38738b50183ea9042c29d1fbc8b0b18bb7 (patch) | |
| tree | dc79c7c9ff51889970be6af9e1110e73e9288b83 /tests | |
| parent | Use `DiscordException` instead of broad exception clause. (diff) | |
Refactors code.
Earlier on message edit the message wasn't run through extract message links to see if new message links are added or if some got deleted. Similarly the cache was updated when a message got deleted.
Now it makes extract message links a helper function and runs it on message edits and deletes in case there are some changes in the message links.
This commit also updates the doc strings for functions according to the new changes done.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions