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

Have invite filter send guild info with mod-alert. #304

Merged
merged 3 commits into from Feb 9, 2019

Conversation

3 participants
@scragly
Copy link
Member

scragly commented Feb 5, 2019

When the invite filter is triggered, we get notified in #mod_alerts. Almost every time, a staff member copies the invite and pastes it in a normal message in order to show the guild name and member counts to see where the invite leads to. Unfortunately, it's not possible to copy embed content on mobile either, so if a mod on mobile wants to see the info, they'll have to manually type it out which can be annoying.

This PR makes the bot fetch these details and sends an embed with them automatically instead, automating the whole thing and hopefully bringing a little less annoyance to those on mobile.

image

@scragly scragly added the feature label Feb 5, 2019

@scragly scragly added this to Needs review in Bot Tracking via automation Feb 5, 2019

@sco1
Copy link
Member

sco1 left a comment

Minor docstring change, otherwise this looks solid

Show resolved Hide resolved bot/cogs/filtering.py
@sco1

sco1 approved these changes Feb 7, 2019

Bot Tracking automation moved this from Needs review to Reviewer approved Feb 9, 2019

@SebastiaanZ SebastiaanZ merged commit 70b9d0a into master Feb 9, 2019

Bot Tracking automation moved this from Reviewer approved to Done Feb 9, 2019

@SebastiaanZ SebastiaanZ deleted the server-invite-details branch Feb 9, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment