Skip to content

Handle ratelimits#118

Merged
mak448a merged 9 commits intomainfrom
ratelimit
Apr 15, 2026
Merged

Handle ratelimits#118
mak448a merged 9 commits intomainfrom
ratelimit

Conversation

@mak448a
Copy link
Copy Markdown
Owner

@mak448a mak448a commented Mar 5, 2026

This pull request will fix #93 #116

Handles rate limits for

  • Friends list

  • Get messages

  • Send message

  • Get channel from ID

  • Get guilds

  • Get guild channels (no handling if it does ratelimit)

  • Get user from ID no handling if it does ratelimit)

  • Notify user of ratelimit with pyqttoast

Also,

  • Handle 403 errors in get_user_from_id preventing the function from returning a DiscordUser

  • Remove duplicate code

  • I agree to the contributor agreements

@mak448a mak448a added bug Something isn't working enhancement New feature or request labels Mar 5, 2026
mak448a added 2 commits March 5, 2026 18:16
…ying

Partially handle ratelimits for messages
Delete duplicate code for processing mentions
@mak448a mak448a mentioned this pull request Mar 16, 2026
@mak448a mak448a merged commit b8ac1db into main Apr 15, 2026
@mak448a mak448a deleted the ratelimit branch April 15, 2026 03:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working enhancement New feature or request

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Adjust to ratelimits

1 participant