Enum Reference

class antispam.enums.IgnoreType(value)

This enum should be using with the following methods:

It is used to signify the type of item you wish to ignore within any following propagate calls.

CHANNEL = 1
GUILD = 2
MEMBER = 0
ROLE = 3
class antispam.enums.ResetType(value)

This enum should be using with the following methods:

It is used to signify the type of reset you wish to apply to the given member.

KICK_COUNTER = 1
WARN_COUNTER = 0
class antispam.enums.Library(value)

An enum to denote which type of API wrapper you are intending on using this with. Defaults to DPY.

Notes

Default behaviour will be removed in 1.3.0

CUSTOM will not set a library handler. You will need to set one yourself.

CUSTOM = 8
DISNAKE = 5
DPY = 1
ENHANCED_DPY = 4
HIKARI = 2
NEXTCORD = 6
PINCER = 3
PYCORD = 7