├── .dockerignore ├── .editorconfig ├── .env ├── .github ├── FUNDING.yml ├── ISSUE_TEMPLATE │ ├── bug_report.yml │ ├── config.yml │ └── feature_request.yml ├── PULL_REQUEST_TEMPLATE.md ├── config.yml └── workflows │ ├── close-support-requests.yml │ ├── migration.yml │ ├── no-response.yml │ └── test-build-and-deploy.yml ├── .gitignore ├── .husky ├── .gitignore ├── commit-msg └── pre-commit ├── .nvmrc ├── .prettierrc.js ├── .vscode ├── extensions.json └── settings.json ├── CODE_OF_CONDUCT.md ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── SUPPORT.md ├── commitlint.config.js ├── config ├── .gitignore └── default.json ├── docker-compose.yml ├── newrelic.js ├── nodemon.json ├── package.json ├── prisma ├── migrations │ ├── 20210402005018_initial_migration │ │ └── migration.sql │ ├── 20220417120340_add_last_support_thread_creation_field_to_users_table │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── src ├── BaseModule.ts ├── Bot.ts ├── CommandBus.ts ├── WatcherBus.ts ├── commands │ ├── AskCommand.ts │ ├── BaseCommand.ts │ ├── CleanCommand.ts │ ├── CommandsCommand.ts │ ├── CurseLagCommand.ts │ ├── FreeSupportCommand.ts │ ├── HowCommand.ts │ ├── IDBanCommand.ts │ ├── JailCommand.ts │ ├── LogOffCommand.ts │ ├── LogOnCommand.ts │ ├── LogStatusCommand.ts │ ├── LogsCommand.ts │ ├── SupportCommand.ts │ ├── UpdateCommand.ts │ └── WorkingCommand.ts ├── constants │ └── discord.ts ├── index.ts ├── schedule.ts ├── server │ ├── index.ts │ ├── router.ts │ └── utils.ts ├── utils │ ├── env.ts │ ├── logger.ts │ └── prisma.ts └── watchers │ ├── ATLuncherWatcher.ts │ ├── AnnouncementChannelMessageWatcher.ts │ ├── BadWordWatcher.ts │ ├── BanWatcher.ts │ ├── BaseWatcher.ts │ ├── DeleteWatcher.ts │ ├── InviteRuleWatcher.ts │ ├── JoinWatcher.ts │ ├── LinkSpamWatcher.ts │ ├── LogsPlzReactionWatcher.ts │ ├── MessageLoggerWatcher.ts │ ├── NewForumPostWatcher.ts │ ├── PasteWatcher.ts │ ├── PollWatcher.ts │ ├── SameMessageSpamWatcher.ts │ ├── SelfBotWatcher.ts │ ├── SupportRuleWatcher.ts │ ├── TLauncherWatcher.ts │ ├── TagRuleWatcher.ts │ ├── TextSpamWatcher.ts │ └── UnofficialMinecraftLinkWatcher.ts ├── tsconfig.json └── utils ├── getOAuthUrl.js └── stringifyConfig.js /.dockerignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | dist 3 | db/*.db 4 | config/secret.json -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.env -------------------------------------------------------------------------------- /.github/FUNDING.yml: -------------------------------------------------------------------------------- 1 | github: [RyanTheAllmighty] 2 | -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/bug_report.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/ISSUE_TEMPLATE/bug_report.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/ISSUE_TEMPLATE/config.yml -------------------------------------------------------------------------------- /.github/ISSUE_TEMPLATE/feature_request.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/ISSUE_TEMPLATE/feature_request.yml -------------------------------------------------------------------------------- /.github/PULL_REQUEST_TEMPLATE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/PULL_REQUEST_TEMPLATE.md -------------------------------------------------------------------------------- /.github/config.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/config.yml -------------------------------------------------------------------------------- /.github/workflows/close-support-requests.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/workflows/close-support-requests.yml -------------------------------------------------------------------------------- /.github/workflows/migration.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/workflows/migration.yml -------------------------------------------------------------------------------- /.github/workflows/no-response.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/workflows/no-response.yml -------------------------------------------------------------------------------- /.github/workflows/test-build-and-deploy.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.github/workflows/test-build-and-deploy.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/.gitignore: -------------------------------------------------------------------------------- 1 | _ 2 | -------------------------------------------------------------------------------- /.husky/commit-msg: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.husky/commit-msg -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.husky/pre-commit -------------------------------------------------------------------------------- /.nvmrc: -------------------------------------------------------------------------------- 1 | 16 2 | -------------------------------------------------------------------------------- /.prettierrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.prettierrc.js -------------------------------------------------------------------------------- /.vscode/extensions.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.vscode/extensions.json -------------------------------------------------------------------------------- /.vscode/settings.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/.vscode/settings.json -------------------------------------------------------------------------------- /CODE_OF_CONDUCT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/CODE_OF_CONDUCT.md -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/README.md -------------------------------------------------------------------------------- /SUPPORT.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/SUPPORT.md -------------------------------------------------------------------------------- /commitlint.config.js: -------------------------------------------------------------------------------- 1 | module.exports = { extends: ['@commitlint/config-conventional'] }; 2 | -------------------------------------------------------------------------------- /config/.gitignore: -------------------------------------------------------------------------------- 1 | local* 2 | -------------------------------------------------------------------------------- /config/default.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/config/default.json -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /newrelic.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/newrelic.js -------------------------------------------------------------------------------- /nodemon.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/nodemon.json -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/package.json -------------------------------------------------------------------------------- /prisma/migrations/20210402005018_initial_migration/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/prisma/migrations/20210402005018_initial_migration/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20220417120340_add_last_support_thread_creation_field_to_users_table/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/prisma/migrations/20220417120340_add_last_support_thread_creation_field_to_users_table/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /src/BaseModule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/BaseModule.ts -------------------------------------------------------------------------------- /src/Bot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/Bot.ts -------------------------------------------------------------------------------- /src/CommandBus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/CommandBus.ts -------------------------------------------------------------------------------- /src/WatcherBus.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/WatcherBus.ts -------------------------------------------------------------------------------- /src/commands/AskCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/AskCommand.ts -------------------------------------------------------------------------------- /src/commands/BaseCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/BaseCommand.ts -------------------------------------------------------------------------------- /src/commands/CleanCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/CleanCommand.ts -------------------------------------------------------------------------------- /src/commands/CommandsCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/CommandsCommand.ts -------------------------------------------------------------------------------- /src/commands/CurseLagCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/CurseLagCommand.ts -------------------------------------------------------------------------------- /src/commands/FreeSupportCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/FreeSupportCommand.ts -------------------------------------------------------------------------------- /src/commands/HowCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/HowCommand.ts -------------------------------------------------------------------------------- /src/commands/IDBanCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/IDBanCommand.ts -------------------------------------------------------------------------------- /src/commands/JailCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/JailCommand.ts -------------------------------------------------------------------------------- /src/commands/LogOffCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/LogOffCommand.ts -------------------------------------------------------------------------------- /src/commands/LogOnCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/LogOnCommand.ts -------------------------------------------------------------------------------- /src/commands/LogStatusCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/LogStatusCommand.ts -------------------------------------------------------------------------------- /src/commands/LogsCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/LogsCommand.ts -------------------------------------------------------------------------------- /src/commands/SupportCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/SupportCommand.ts -------------------------------------------------------------------------------- /src/commands/UpdateCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/UpdateCommand.ts -------------------------------------------------------------------------------- /src/commands/WorkingCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/commands/WorkingCommand.ts -------------------------------------------------------------------------------- /src/constants/discord.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/constants/discord.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/schedule.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/schedule.ts -------------------------------------------------------------------------------- /src/server/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/server/index.ts -------------------------------------------------------------------------------- /src/server/router.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/server/router.ts -------------------------------------------------------------------------------- /src/server/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/server/utils.ts -------------------------------------------------------------------------------- /src/utils/env.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/utils/env.ts -------------------------------------------------------------------------------- /src/utils/logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/utils/logger.ts -------------------------------------------------------------------------------- /src/utils/prisma.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/utils/prisma.ts -------------------------------------------------------------------------------- /src/watchers/ATLuncherWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/ATLuncherWatcher.ts -------------------------------------------------------------------------------- /src/watchers/AnnouncementChannelMessageWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/AnnouncementChannelMessageWatcher.ts -------------------------------------------------------------------------------- /src/watchers/BadWordWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/BadWordWatcher.ts -------------------------------------------------------------------------------- /src/watchers/BanWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/BanWatcher.ts -------------------------------------------------------------------------------- /src/watchers/BaseWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/BaseWatcher.ts -------------------------------------------------------------------------------- /src/watchers/DeleteWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/DeleteWatcher.ts -------------------------------------------------------------------------------- /src/watchers/InviteRuleWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/InviteRuleWatcher.ts -------------------------------------------------------------------------------- /src/watchers/JoinWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/JoinWatcher.ts -------------------------------------------------------------------------------- /src/watchers/LinkSpamWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/LinkSpamWatcher.ts -------------------------------------------------------------------------------- /src/watchers/LogsPlzReactionWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/LogsPlzReactionWatcher.ts -------------------------------------------------------------------------------- /src/watchers/MessageLoggerWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/MessageLoggerWatcher.ts -------------------------------------------------------------------------------- /src/watchers/NewForumPostWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/NewForumPostWatcher.ts -------------------------------------------------------------------------------- /src/watchers/PasteWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/PasteWatcher.ts -------------------------------------------------------------------------------- /src/watchers/PollWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/PollWatcher.ts -------------------------------------------------------------------------------- /src/watchers/SameMessageSpamWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/SameMessageSpamWatcher.ts -------------------------------------------------------------------------------- /src/watchers/SelfBotWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/SelfBotWatcher.ts -------------------------------------------------------------------------------- /src/watchers/SupportRuleWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/SupportRuleWatcher.ts -------------------------------------------------------------------------------- /src/watchers/TLauncherWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/TLauncherWatcher.ts -------------------------------------------------------------------------------- /src/watchers/TagRuleWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/TagRuleWatcher.ts -------------------------------------------------------------------------------- /src/watchers/TextSpamWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/TextSpamWatcher.ts -------------------------------------------------------------------------------- /src/watchers/UnofficialMinecraftLinkWatcher.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/src/watchers/UnofficialMinecraftLinkWatcher.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/tsconfig.json -------------------------------------------------------------------------------- /utils/getOAuthUrl.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/utils/getOAuthUrl.js -------------------------------------------------------------------------------- /utils/stringifyConfig.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/ATLauncher/discord-bot/HEAD/utils/stringifyConfig.js --------------------------------------------------------------------------------