├── .assets └── demo.gif ├── .dockerignore ├── .env.example ├── .github └── workflows │ └── docker.yml ├── .gitignore ├── .gitmodules ├── .vscode ├── launch.json └── settings.json ├── LICENSE ├── README.md ├── api ├── .gitignore ├── .yarn │ └── releases │ │ └── yarn-3.2.1.cjs ├── .yarnrc.yml ├── Dockerfile ├── package.json ├── src │ ├── db.ts │ ├── index.ts │ ├── middlewares │ │ ├── cors.ts │ │ ├── log.ts │ │ ├── ratelimit.ts │ │ └── updateTokenExpiry.ts │ ├── routes │ │ ├── dash │ │ │ ├── server-automod.ts │ │ │ ├── server.ts │ │ │ └── servers.ts │ │ ├── internal │ │ │ └── ws.ts │ │ ├── login.ts │ │ ├── root.ts │ │ └── stats.ts │ ├── server.ts │ └── utils.ts ├── tsconfig.json └── yarn.lock ├── bot ├── .gitignore ├── .yarn │ └── releases │ │ └── yarn-3.2.1.cjs ├── .yarnrc.yml ├── Dockerfile ├── package.json ├── src │ ├── bot │ │ ├── commands │ │ │ ├── admin │ │ │ │ ├── botadm.ts │ │ │ │ ├── eval.ts │ │ │ │ └── shell_eval.ts │ │ │ ├── configuration │ │ │ │ ├── bot_managers.ts │ │ │ │ ├── botctl.ts │ │ │ │ ├── bridge.ts │ │ │ │ ├── login.ts │ │ │ │ ├── logout.ts │ │ │ │ ├── moderator.ts │ │ │ │ ├── prefix.ts │ │ │ │ ├── settings.ts │ │ │ │ └── whitelist.ts │ │ │ ├── misc │ │ │ │ ├── debug.ts │ │ │ │ ├── healthcheck.ts │ │ │ │ ├── help.ts │ │ │ │ ├── ping.ts │ │ │ │ └── test.ts │ │ │ └── moderation │ │ │ │ ├── avatar.ts │ │ │ │ ├── ban.ts │ │ │ │ ├── kick.ts │ │ │ │ ├── nick.ts │ │ │ │ ├── purge.ts │ │ │ │ ├── timeout.ts │ │ │ │ ├── unban.ts │ │ │ │ ├── votekick.ts │ │ │ │ ├── warn.ts │ │ │ │ └── warns.ts │ │ ├── db.ts │ │ ├── logger.ts │ │ ├── logging.ts │ │ ├── modules │ │ │ ├── antispam.ts │ │ │ ├── api │ │ │ │ ├── server_details.ts │ │ │ │ ├── servers.ts │ │ │ │ └── users.ts │ │ │ ├── api_communication.ts │ │ │ ├── bot_status.ts │ │ │ ├── command_handler.ts │ │ │ ├── custom_rules │ │ │ │ ├── actions │ │ │ │ │ ├── delete.ts │ │ │ │ │ ├── sendMessage.ts │ │ │ │ │ └── warn.ts │ │ │ │ ├── custom_rules.ts │ │ │ │ └── message_content_trigger.ts │ │ │ ├── event_handler.ts │ │ │ ├── fetch_all.ts │ │ │ ├── metrics.ts │ │ │ ├── mod_logs.ts │ │ │ ├── raid_detection.ts │ │ │ └── tempbans.ts │ │ └── util.ts │ ├── index.ts │ └── struct │ │ ├── AutomodClient.ts │ │ ├── MessageCommandContext.ts │ │ └── commands │ │ ├── CommandCategory.ts │ │ └── SimpleCommand.ts ├── tsconfig.json └── yarn.lock ├── bridge ├── .gitignore ├── .yarn │ └── releases │ │ └── yarn-3.2.1.cjs ├── .yarnrc.yml ├── Dockerfile ├── package.json ├── src │ ├── data_deletion.ts │ ├── db.ts │ ├── discord │ │ ├── bridgeEmojis.ts │ │ ├── client.ts │ │ ├── commands.ts │ │ └── events.ts │ ├── index.ts │ ├── metrics.ts │ ├── revolt │ │ ├── client.ts │ │ └── events.ts │ ├── types │ │ ├── BridgeRequest.ts │ │ ├── BridgeUserConfig.ts │ │ ├── BridgedMessage.ts │ │ ├── DiscordBridgedEmoji.ts │ │ └── GenericEmbed.ts │ └── util.ts ├── tsconfig.json └── yarn.lock ├── docker-compose.yml.example ├── lib ├── .gitignore ├── .yarn │ ├── cache │ │ ├── typescript-npm-4.7.4-65aa6ffb42-5750181b1c.zip │ │ └── typescript-patch-e8b9857d0c-9096d8f6c1.zip │ ├── install-state.gz │ └── releases │ │ └── yarn-3.2.1.cjs ├── .yarnrc.yml ├── package.json ├── src │ ├── misc │ │ ├── bridge_config_keys.ts │ │ ├── database.ts │ │ └── emoji_list.ts │ └── types │ │ ├── BridgeConfig.ts │ │ ├── BridgeRequest.ts │ │ ├── BridgedMessage.ts │ │ ├── DbUser.ts │ │ ├── LogConfig.ts │ │ ├── LogMessage.ts │ │ ├── PendingLogin.ts │ │ ├── ServerConfig.ts │ │ ├── TempBan.ts │ │ └── antispam │ │ ├── AntispamRule.ts │ │ ├── AutomodSettings.ts │ │ ├── CustomRule.ts │ │ ├── CustomRuleAction.ts │ │ ├── CustomRuleTrigger.ts │ │ ├── Infraction.ts │ │ ├── InfractionType.ts │ │ └── ModerationAction.ts ├── tsconfig.json └── yarn.lock ├── mongo.sh ├── redis.sh └── web ├── .gitignore ├── .yarn └── releases │ └── yarn-3.2.1.cjs ├── .yarnrc.yml ├── Dockerfile ├── index.html ├── package.json ├── public └── noscript.png ├── src ├── App.css ├── App.tsx ├── assets │ └── channel-default-icon.svg ├── components │ ├── CategorySelector.tsx │ ├── RequireAuth.tsx │ └── styles │ │ └── CategorySelector.css ├── favicon.svg ├── index.css ├── main.tsx ├── pages │ ├── DashboardHome.tsx │ ├── Home.tsx │ ├── Login.tsx │ ├── ServerDashboard │ │ └── ServerDashboard.tsx │ └── Tex.tsx ├── utils.ts └── vite-env.d.ts ├── tsconfig.json ├── vercel.json ├── vite.config.ts └── yarn.lock /.assets/demo.gif: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.assets/demo.gif -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | private/ 2 | db/ 3 | -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.env.example -------------------------------------------------------------------------------- /.github/workflows/docker.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.github/workflows/docker.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.gitignore -------------------------------------------------------------------------------- /.gitmodules: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.gitmodules -------------------------------------------------------------------------------- /.vscode/launch.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.vscode/launch.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/README.md -------------------------------------------------------------------------------- /api/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/.gitignore -------------------------------------------------------------------------------- /api/.yarn/releases/yarn-3.2.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/.yarn/releases/yarn-3.2.1.cjs -------------------------------------------------------------------------------- /api/.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/.yarnrc.yml -------------------------------------------------------------------------------- /api/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/Dockerfile -------------------------------------------------------------------------------- /api/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/package.json -------------------------------------------------------------------------------- /api/src/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/db.ts -------------------------------------------------------------------------------- /api/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/index.ts -------------------------------------------------------------------------------- /api/src/middlewares/cors.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/middlewares/cors.ts -------------------------------------------------------------------------------- /api/src/middlewares/log.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/middlewares/log.ts -------------------------------------------------------------------------------- /api/src/middlewares/ratelimit.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/middlewares/ratelimit.ts -------------------------------------------------------------------------------- /api/src/middlewares/updateTokenExpiry.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/middlewares/updateTokenExpiry.ts -------------------------------------------------------------------------------- /api/src/routes/dash/server-automod.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/dash/server-automod.ts -------------------------------------------------------------------------------- /api/src/routes/dash/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/dash/server.ts -------------------------------------------------------------------------------- /api/src/routes/dash/servers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/dash/servers.ts -------------------------------------------------------------------------------- /api/src/routes/internal/ws.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/internal/ws.ts -------------------------------------------------------------------------------- /api/src/routes/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/login.ts -------------------------------------------------------------------------------- /api/src/routes/root.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/root.ts -------------------------------------------------------------------------------- /api/src/routes/stats.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/routes/stats.ts -------------------------------------------------------------------------------- /api/src/server.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/server.ts -------------------------------------------------------------------------------- /api/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/src/utils.ts -------------------------------------------------------------------------------- /api/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/tsconfig.json -------------------------------------------------------------------------------- /api/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/api/yarn.lock -------------------------------------------------------------------------------- /bot/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/.gitignore -------------------------------------------------------------------------------- /bot/.yarn/releases/yarn-3.2.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/.yarn/releases/yarn-3.2.1.cjs -------------------------------------------------------------------------------- /bot/.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/.yarnrc.yml -------------------------------------------------------------------------------- /bot/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/Dockerfile -------------------------------------------------------------------------------- /bot/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/package.json -------------------------------------------------------------------------------- /bot/src/bot/commands/admin/botadm.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/admin/botadm.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/admin/eval.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/admin/eval.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/admin/shell_eval.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/admin/shell_eval.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/bot_managers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/bot_managers.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/botctl.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/botctl.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/bridge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/bridge.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/login.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/login.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/logout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/logout.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/moderator.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/moderator.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/prefix.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/prefix.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/settings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/settings.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/configuration/whitelist.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/configuration/whitelist.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/misc/debug.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/misc/debug.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/misc/healthcheck.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/misc/healthcheck.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/misc/help.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/misc/help.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/misc/ping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/misc/ping.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/misc/test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/misc/test.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/avatar.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/avatar.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/ban.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/ban.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/kick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/kick.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/nick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/nick.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/purge.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/purge.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/timeout.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/timeout.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/unban.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/unban.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/votekick.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/votekick.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/warn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/warn.ts -------------------------------------------------------------------------------- /bot/src/bot/commands/moderation/warns.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/commands/moderation/warns.ts -------------------------------------------------------------------------------- /bot/src/bot/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/db.ts -------------------------------------------------------------------------------- /bot/src/bot/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/logger.ts -------------------------------------------------------------------------------- /bot/src/bot/logging.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/logging.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/antispam.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/antispam.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/api/server_details.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/api/server_details.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/api/servers.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/api/servers.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/api/users.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/api/users.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/api_communication.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/api_communication.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/bot_status.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/bot_status.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/command_handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/command_handler.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/custom_rules/actions/delete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/custom_rules/actions/delete.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/custom_rules/actions/sendMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/custom_rules/actions/sendMessage.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/custom_rules/actions/warn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/custom_rules/actions/warn.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/custom_rules/custom_rules.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/custom_rules/custom_rules.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/custom_rules/message_content_trigger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/custom_rules/message_content_trigger.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/event_handler.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/event_handler.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/fetch_all.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/fetch_all.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/metrics.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/mod_logs.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/mod_logs.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/raid_detection.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/raid_detection.ts -------------------------------------------------------------------------------- /bot/src/bot/modules/tempbans.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/modules/tempbans.ts -------------------------------------------------------------------------------- /bot/src/bot/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/bot/util.ts -------------------------------------------------------------------------------- /bot/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/index.ts -------------------------------------------------------------------------------- /bot/src/struct/AutomodClient.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/struct/AutomodClient.ts -------------------------------------------------------------------------------- /bot/src/struct/MessageCommandContext.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/struct/MessageCommandContext.ts -------------------------------------------------------------------------------- /bot/src/struct/commands/CommandCategory.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/struct/commands/CommandCategory.ts -------------------------------------------------------------------------------- /bot/src/struct/commands/SimpleCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/src/struct/commands/SimpleCommand.ts -------------------------------------------------------------------------------- /bot/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/tsconfig.json -------------------------------------------------------------------------------- /bot/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bot/yarn.lock -------------------------------------------------------------------------------- /bridge/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/.gitignore -------------------------------------------------------------------------------- /bridge/.yarn/releases/yarn-3.2.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/.yarn/releases/yarn-3.2.1.cjs -------------------------------------------------------------------------------- /bridge/.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/.yarnrc.yml -------------------------------------------------------------------------------- /bridge/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/Dockerfile -------------------------------------------------------------------------------- /bridge/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/package.json -------------------------------------------------------------------------------- /bridge/src/data_deletion.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/data_deletion.ts -------------------------------------------------------------------------------- /bridge/src/db.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/db.ts -------------------------------------------------------------------------------- /bridge/src/discord/bridgeEmojis.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/discord/bridgeEmojis.ts -------------------------------------------------------------------------------- /bridge/src/discord/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/discord/client.ts -------------------------------------------------------------------------------- /bridge/src/discord/commands.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/discord/commands.ts -------------------------------------------------------------------------------- /bridge/src/discord/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/discord/events.ts -------------------------------------------------------------------------------- /bridge/src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/index.ts -------------------------------------------------------------------------------- /bridge/src/metrics.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/metrics.ts -------------------------------------------------------------------------------- /bridge/src/revolt/client.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/revolt/client.ts -------------------------------------------------------------------------------- /bridge/src/revolt/events.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/revolt/events.ts -------------------------------------------------------------------------------- /bridge/src/types/BridgeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/types/BridgeRequest.ts -------------------------------------------------------------------------------- /bridge/src/types/BridgeUserConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/types/BridgeUserConfig.ts -------------------------------------------------------------------------------- /bridge/src/types/BridgedMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/types/BridgedMessage.ts -------------------------------------------------------------------------------- /bridge/src/types/DiscordBridgedEmoji.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/types/DiscordBridgedEmoji.ts -------------------------------------------------------------------------------- /bridge/src/types/GenericEmbed.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/types/GenericEmbed.ts -------------------------------------------------------------------------------- /bridge/src/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/src/util.ts -------------------------------------------------------------------------------- /bridge/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/tsconfig.json -------------------------------------------------------------------------------- /bridge/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/bridge/yarn.lock -------------------------------------------------------------------------------- /docker-compose.yml.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/docker-compose.yml.example -------------------------------------------------------------------------------- /lib/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/.gitignore -------------------------------------------------------------------------------- /lib/.yarn/cache/typescript-npm-4.7.4-65aa6ffb42-5750181b1c.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/.yarn/cache/typescript-npm-4.7.4-65aa6ffb42-5750181b1c.zip -------------------------------------------------------------------------------- /lib/.yarn/cache/typescript-patch-e8b9857d0c-9096d8f6c1.zip: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/.yarn/cache/typescript-patch-e8b9857d0c-9096d8f6c1.zip -------------------------------------------------------------------------------- /lib/.yarn/install-state.gz: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/.yarn/install-state.gz -------------------------------------------------------------------------------- /lib/.yarn/releases/yarn-3.2.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/.yarn/releases/yarn-3.2.1.cjs -------------------------------------------------------------------------------- /lib/.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/.yarnrc.yml -------------------------------------------------------------------------------- /lib/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/package.json -------------------------------------------------------------------------------- /lib/src/misc/bridge_config_keys.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/misc/bridge_config_keys.ts -------------------------------------------------------------------------------- /lib/src/misc/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/misc/database.ts -------------------------------------------------------------------------------- /lib/src/misc/emoji_list.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/misc/emoji_list.ts -------------------------------------------------------------------------------- /lib/src/types/BridgeConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/BridgeConfig.ts -------------------------------------------------------------------------------- /lib/src/types/BridgeRequest.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/BridgeRequest.ts -------------------------------------------------------------------------------- /lib/src/types/BridgedMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/BridgedMessage.ts -------------------------------------------------------------------------------- /lib/src/types/DbUser.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/DbUser.ts -------------------------------------------------------------------------------- /lib/src/types/LogConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/LogConfig.ts -------------------------------------------------------------------------------- /lib/src/types/LogMessage.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/LogMessage.ts -------------------------------------------------------------------------------- /lib/src/types/PendingLogin.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/PendingLogin.ts -------------------------------------------------------------------------------- /lib/src/types/ServerConfig.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/ServerConfig.ts -------------------------------------------------------------------------------- /lib/src/types/TempBan.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/TempBan.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/AntispamRule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/AntispamRule.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/AutomodSettings.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/AutomodSettings.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/CustomRule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/CustomRule.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/CustomRuleAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/CustomRuleAction.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/CustomRuleTrigger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/CustomRuleTrigger.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/Infraction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/Infraction.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/InfractionType.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/InfractionType.ts -------------------------------------------------------------------------------- /lib/src/types/antispam/ModerationAction.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/src/types/antispam/ModerationAction.ts -------------------------------------------------------------------------------- /lib/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/tsconfig.json -------------------------------------------------------------------------------- /lib/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/lib/yarn.lock -------------------------------------------------------------------------------- /mongo.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/mongo.sh -------------------------------------------------------------------------------- /redis.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/redis.sh -------------------------------------------------------------------------------- /web/.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/.gitignore -------------------------------------------------------------------------------- /web/.yarn/releases/yarn-3.2.1.cjs: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/.yarn/releases/yarn-3.2.1.cjs -------------------------------------------------------------------------------- /web/.yarnrc.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/.yarnrc.yml -------------------------------------------------------------------------------- /web/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/Dockerfile -------------------------------------------------------------------------------- /web/index.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/index.html -------------------------------------------------------------------------------- /web/package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/package.json -------------------------------------------------------------------------------- /web/public/noscript.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/public/noscript.png -------------------------------------------------------------------------------- /web/src/App.css: -------------------------------------------------------------------------------- 1 | a:hover { 2 | text-decoration: underline; 3 | } -------------------------------------------------------------------------------- /web/src/App.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/App.tsx -------------------------------------------------------------------------------- /web/src/assets/channel-default-icon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/assets/channel-default-icon.svg -------------------------------------------------------------------------------- /web/src/components/CategorySelector.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/components/CategorySelector.tsx -------------------------------------------------------------------------------- /web/src/components/RequireAuth.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/components/RequireAuth.tsx -------------------------------------------------------------------------------- /web/src/components/styles/CategorySelector.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/components/styles/CategorySelector.css -------------------------------------------------------------------------------- /web/src/favicon.svg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/favicon.svg -------------------------------------------------------------------------------- /web/src/index.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/index.css -------------------------------------------------------------------------------- /web/src/main.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/main.tsx -------------------------------------------------------------------------------- /web/src/pages/DashboardHome.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/pages/DashboardHome.tsx -------------------------------------------------------------------------------- /web/src/pages/Home.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/pages/Home.tsx -------------------------------------------------------------------------------- /web/src/pages/Login.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/pages/Login.tsx -------------------------------------------------------------------------------- /web/src/pages/ServerDashboard/ServerDashboard.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/pages/ServerDashboard/ServerDashboard.tsx -------------------------------------------------------------------------------- /web/src/pages/Tex.tsx: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/pages/Tex.tsx -------------------------------------------------------------------------------- /web/src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/src/utils.ts -------------------------------------------------------------------------------- /web/src/vite-env.d.ts: -------------------------------------------------------------------------------- 1 | /// 2 | -------------------------------------------------------------------------------- /web/tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/tsconfig.json -------------------------------------------------------------------------------- /web/vercel.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/vercel.json -------------------------------------------------------------------------------- /web/vite.config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/vite.config.ts -------------------------------------------------------------------------------- /web/yarn.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/sussycatgirl/automod/HEAD/web/yarn.lock --------------------------------------------------------------------------------