Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add exception handling to role reminder message #226

Merged
merged 13 commits into from
May 26, 2024

Conversation

MattyTheHacker
Copy link
Member

No description provided.

@MattyTheHacker MattyTheHacker self-assigned this May 24, 2024
@MattyTheHacker MattyTheHacker added the bug Something isn't working label May 24, 2024
@MattyTheHacker MattyTheHacker linked an issue May 24, 2024 that may be closed by this pull request
cogs/send_get_roles_reminders.py Outdated Show resolved Hide resolved
cogs/send_get_roles_reminders.py Show resolved Hide resolved
cogs/induct.py Outdated Show resolved Hide resolved
cogs/induct.py Show resolved Hide resolved
@CarrotManMatt
Copy link
Member

I'm slightly confused about the check for forbidden when reacting to the message. The reaction is done within the main guild so surely a user blocking the bot won't make any difference. Or is it that when the user blocks a bot, that bot cannot react to any of that user's messages?

@MattyTheHacker
Copy link
Member Author

I'm slightly confused about the check for forbidden when reacting to the message. The reaction is done within the main guild so surely a user blocking the bot won't make any difference. Or is it that when the user blocks a bot, that bot cannot react to any of that user's messages?

yeah when you block a user (or a bot) they can't react to your messages anymore, which is what this check does

cogs/induct.py Outdated Show resolved Hide resolved
cogs/send_get_roles_reminders.py Outdated Show resolved Hide resolved
cogs/induct.py Outdated Show resolved Hide resolved
@MattyTheHacker MattyTheHacker merged commit 33811b0 into main May 26, 2024
8 checks passed
@MattyTheHacker MattyTheHacker deleted the fix_role_reminder_error branch May 26, 2024 03:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging this pull request may close these issues.

403 Forbidden role reminders
2 participants