AutoMod

Image

GET https://my.elara.services/api/automod/images

Query Parameters

Name
Type
Description

key

string

Your API key

token

string

Your moderatecontent API key

percent

string

The percent you want to check for how "adult" it is. Default is: 89

Request Body

Name
Type
Description

images

array

The image URLs you want to check.

{
    status: true,
    images: ["array", "of", "images that was flagged for adult"],
    full: [
    // Array of objects of the images 
    // & their raw response from the API
    ]
}

Words

GET https://my.elara.services/api/imagemod/words

Query Parameters

Name
Type
Description

key

string

Your API key

Request Body

Name
Type
Description

message

string

The string you want to check

words

array

The array of words you want to check against the message

emojis

array

The array of emojis you want to check against the message.

{
    status: true,
    filtered: []
}

GET https://my.elara.services/api/automod/links

Query Parameters

Name
Type
Description

key

string

Your API key

Request Body

Name
Type
Description

prefix

string

For Discord bots, so it doesn't filter ".command"/".commands"

regexp

boolean

If it should use the RegExp to find the link or if it should include "https://"/"http://", ".com", "www."

message

string

The message you want to check if it has links in it.

{
    status: true,
    links: true,
    message: "The Message String!"
}

Last updated