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

method to resolve activity alert on a message #728

Open
elijahgives opened this issue Aug 22, 2024 · 0 comments
Open

method to resolve activity alert on a message #728

elijahgives opened this issue Aug 22, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@elijahgives
Copy link

Summary

feature request to method to resolve activity alert on a message.

What is the feature request for?

The core library

The Problem

basically some servers that have community enabled get activity alerts that cause captcha to be enabled, this sends a message which is of the type auto_moderation_action, and in order to resolve that/"mark it as a false alarm" as discord refers to it, theres an api request to be made there.

this should be added to the core library.

also, we will want to specify the reason for resolving it. the available discord reasons are:
LEGITIMATE_ACTIVITY
DM_SPAM
JOIN_RAID
OTHER

The Ideal Solution

a method on Message that basically calls a post request to https://discord.com/api/v9/guilds/(guild id)/auto-moderation/false-alarm with the body {
"alert_message_id": (message id),
"reason": (reason)
}

The Current Solution

No response

Additional Context

No response

@dolfies dolfies added the enhancement New feature or request label Jan 16, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants