├── .dockerignore ├── .editorconfig ├── .env.example ├── .eslintignore ├── .eslintrc.json ├── .github └── workflows │ └── CI.yaml ├── .gitignore ├── .husky └── pre-commit ├── .prettierignore ├── .prettierrc.json ├── .vscode └── botcmd.code-snippets ├── CONTRIBUTING.md ├── Dockerfile ├── LICENSE ├── README.md ├── __tests__ └── utils.test.ts ├── docker-compose.yml ├── docs └── Boolean Pfp.png ├── jest.config.js ├── package.json ├── prisma ├── migrations │ ├── 20220531024427_init │ │ └── migration.sql │ ├── 20220531024708_modmail │ │ └── migration.sql │ └── migration_lock.toml └── schema.prisma ├── scripts ├── build.sh ├── check.sh ├── start.sh └── update.sh ├── src ├── commands │ ├── announce.ts │ ├── clear.ts │ ├── config.ts │ ├── deny.ts │ ├── members.ts │ ├── ping.ts │ ├── quiz.ts │ ├── repeat.ts │ ├── rolemenu.ts │ ├── selfrole.ts │ ├── user.ts │ └── warn.ts ├── database │ ├── badges.ts │ ├── channels.ts │ ├── index.ts │ ├── roles.ts │ └── selfroles.ts ├── events │ ├── error.ts │ ├── guildMemberAdd.ts │ ├── guildMemberRemove.ts │ ├── guildMemberUpdate.ts │ ├── interactionCreate.ts │ ├── messageCreate.ts │ ├── messageDelete.ts │ ├── messageUpdate.ts │ └── ready.ts ├── files.ts ├── index.ts ├── services │ └── modmail │ │ ├── commands │ │ ├── DeleteCtxMenu.ts │ │ ├── EditCtxMenu.ts │ │ └── ModmailCmd.ts │ │ ├── constants.ts │ │ ├── database.ts │ │ ├── index.ts │ │ ├── sync.ts │ │ └── util.ts ├── structures │ ├── Bot.ts │ ├── BotCommand.ts │ ├── Logger.ts │ └── index.ts ├── types.ts └── utils.ts └── tsconfig.json /.dockerignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.dockerignore -------------------------------------------------------------------------------- /.editorconfig: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.editorconfig -------------------------------------------------------------------------------- /.env.example: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.env.example -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | dist 2 | node_modules -------------------------------------------------------------------------------- /.eslintrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.eslintrc.json -------------------------------------------------------------------------------- /.github/workflows/CI.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.github/workflows/CI.yaml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.gitignore -------------------------------------------------------------------------------- /.husky/pre-commit: -------------------------------------------------------------------------------- 1 | #!/bin/sh 2 | . "$(dirname "$0")/_/husky.sh" 3 | 4 | npx pretty-quick --staged 5 | -------------------------------------------------------------------------------- /.prettierignore: -------------------------------------------------------------------------------- 1 | node_modules 2 | *-lock.json 3 | dist -------------------------------------------------------------------------------- /.prettierrc.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.prettierrc.json -------------------------------------------------------------------------------- /.vscode/botcmd.code-snippets: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/.vscode/botcmd.code-snippets -------------------------------------------------------------------------------- /CONTRIBUTING.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/CONTRIBUTING.md -------------------------------------------------------------------------------- /Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/Dockerfile -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/README.md -------------------------------------------------------------------------------- /__tests__/utils.test.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/__tests__/utils.test.ts -------------------------------------------------------------------------------- /docker-compose.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/docker-compose.yml -------------------------------------------------------------------------------- /docs/Boolean Pfp.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/docs/Boolean Pfp.png -------------------------------------------------------------------------------- /jest.config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/jest.config.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/package.json -------------------------------------------------------------------------------- /prisma/migrations/20220531024427_init/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/prisma/migrations/20220531024427_init/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/20220531024708_modmail/migration.sql: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/prisma/migrations/20220531024708_modmail/migration.sql -------------------------------------------------------------------------------- /prisma/migrations/migration_lock.toml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/prisma/migrations/migration_lock.toml -------------------------------------------------------------------------------- /prisma/schema.prisma: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/prisma/schema.prisma -------------------------------------------------------------------------------- /scripts/build.sh: -------------------------------------------------------------------------------- 1 | npm exec prisma generate 2 | npm run build 3 | -------------------------------------------------------------------------------- /scripts/check.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/scripts/check.sh -------------------------------------------------------------------------------- /scripts/start.sh: -------------------------------------------------------------------------------- 1 | npm exec prisma migrate dev 2 | npm start 3 | -------------------------------------------------------------------------------- /scripts/update.sh: -------------------------------------------------------------------------------- 1 | git pull origin master 2 | docker-compose build 3 | -------------------------------------------------------------------------------- /src/commands/announce.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/announce.ts -------------------------------------------------------------------------------- /src/commands/clear.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/clear.ts -------------------------------------------------------------------------------- /src/commands/config.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/config.ts -------------------------------------------------------------------------------- /src/commands/deny.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/deny.ts -------------------------------------------------------------------------------- /src/commands/members.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/members.ts -------------------------------------------------------------------------------- /src/commands/ping.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/ping.ts -------------------------------------------------------------------------------- /src/commands/quiz.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/quiz.ts -------------------------------------------------------------------------------- /src/commands/repeat.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/repeat.ts -------------------------------------------------------------------------------- /src/commands/rolemenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/rolemenu.ts -------------------------------------------------------------------------------- /src/commands/selfrole.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/selfrole.ts -------------------------------------------------------------------------------- /src/commands/user.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/user.ts -------------------------------------------------------------------------------- /src/commands/warn.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/commands/warn.ts -------------------------------------------------------------------------------- /src/database/badges.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/database/badges.ts -------------------------------------------------------------------------------- /src/database/channels.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/database/channels.ts -------------------------------------------------------------------------------- /src/database/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/database/index.ts -------------------------------------------------------------------------------- /src/database/roles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/database/roles.ts -------------------------------------------------------------------------------- /src/database/selfroles.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/database/selfroles.ts -------------------------------------------------------------------------------- /src/events/error.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/error.ts -------------------------------------------------------------------------------- /src/events/guildMemberAdd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/guildMemberAdd.ts -------------------------------------------------------------------------------- /src/events/guildMemberRemove.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/guildMemberRemove.ts -------------------------------------------------------------------------------- /src/events/guildMemberUpdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/guildMemberUpdate.ts -------------------------------------------------------------------------------- /src/events/interactionCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/interactionCreate.ts -------------------------------------------------------------------------------- /src/events/messageCreate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/messageCreate.ts -------------------------------------------------------------------------------- /src/events/messageDelete.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/messageDelete.ts -------------------------------------------------------------------------------- /src/events/messageUpdate.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/messageUpdate.ts -------------------------------------------------------------------------------- /src/events/ready.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/events/ready.ts -------------------------------------------------------------------------------- /src/files.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/files.ts -------------------------------------------------------------------------------- /src/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/index.ts -------------------------------------------------------------------------------- /src/services/modmail/commands/DeleteCtxMenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/commands/DeleteCtxMenu.ts -------------------------------------------------------------------------------- /src/services/modmail/commands/EditCtxMenu.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/commands/EditCtxMenu.ts -------------------------------------------------------------------------------- /src/services/modmail/commands/ModmailCmd.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/commands/ModmailCmd.ts -------------------------------------------------------------------------------- /src/services/modmail/constants.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/constants.ts -------------------------------------------------------------------------------- /src/services/modmail/database.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/database.ts -------------------------------------------------------------------------------- /src/services/modmail/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/index.ts -------------------------------------------------------------------------------- /src/services/modmail/sync.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/sync.ts -------------------------------------------------------------------------------- /src/services/modmail/util.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/services/modmail/util.ts -------------------------------------------------------------------------------- /src/structures/Bot.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/structures/Bot.ts -------------------------------------------------------------------------------- /src/structures/BotCommand.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/structures/BotCommand.ts -------------------------------------------------------------------------------- /src/structures/Logger.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/structures/Logger.ts -------------------------------------------------------------------------------- /src/structures/index.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/structures/index.ts -------------------------------------------------------------------------------- /src/types.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/types.ts -------------------------------------------------------------------------------- /src/utils.ts: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/src/utils.ts -------------------------------------------------------------------------------- /tsconfig.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/conaticus/boolean/HEAD/tsconfig.json --------------------------------------------------------------------------------