Detection heuristics: - Rich-embed abuse (user accounts can't send rich embeds) - Inhuman response speed (<300ms consistently) - Message timing precision analysis - 24/7 activity profiling - Automated command-response pattern matching - Rapid-fire burst detection Configurable per-server: - Toggle on/off (default: off) - Actions: log, warn, mute, kick, ban - Sensitivity: low/medium/high + custom threshold - Log channel, exempt roles/users - Staff notifications, mute duration Commands: [p]sbguard enable/disable/action/sensitivity/threshold/logchannel/scan/flagged/reset Slash: /sbguard-status, /sbguard-scan
14 lines
477 B
Python
14 lines
477 B
Python
"""SelfbotGuard — Advanced selfbot detection & punishment for Red-DiscordBot."""
|
|
|
|
from .selfbotguard import SelfbotGuard
|
|
|
|
__red_end_user_data_statement__ = (
|
|
"This cog stores Discord user IDs and guild IDs for selfbot detection. "
|
|
"Per-user data includes message timestamps, response timing, activity windows, "
|
|
"and suspicion scores. Users may request deletion via the bot owner."
|
|
)
|
|
|
|
|
|
async def setup(bot):
|
|
cog = SelfbotGuard(bot)
|
|
await bot.add_cog(cog)
|