{"id":26167396,"url":"https://github.com/duca-club/duca-sentinel","last_synced_at":"2025-06-16T08:31:54.970Z","repository":{"id":281596451,"uuid":"945739701","full_name":"duca-club/duca-sentinel","owner":"duca-club","description":"Offiicial Discord bot for Deakin University Cybersecurity Association (DUCA)","archived":false,"fork":false,"pushed_at":"2025-06-10T11:55:51.000Z","size":319,"stargazers_count":1,"open_issues_count":5,"forks_count":1,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-06-10T12:42:02.317Z","etag":null,"topics":["api","bot","deakin","discord","discord-js"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/duca-club.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2025-03-10T03:41:10.000Z","updated_at":"2025-03-24T11:00:02.000Z","dependencies_parsed_at":"2025-06-10T12:32:32.313Z","dependency_job_id":"50a62ba8-8132-44fb-a7fe-74d449940561","html_url":"https://github.com/duca-club/duca-sentinel","commit_stats":null,"previous_names":["duca-club/duca-sentinel"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/duca-club/duca-sentinel","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duca-club%2Fduca-sentinel","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duca-club%2Fduca-sentinel/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duca-club%2Fduca-sentinel/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duca-club%2Fduca-sentinel/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/duca-club","download_url":"https://codeload.github.com/duca-club/duca-sentinel/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/duca-club%2Fduca-sentinel/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":260126289,"owners_count":22962618,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["api","bot","deakin","discord","discord-js"],"created_at":"2025-03-11T17:35:39.561Z","updated_at":"2025-06-16T08:31:54.961Z","avatar_url":"https://github.com/duca-club.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# DUCA Sentinel\n\n![Version](https://img.shields.io/badge/version-2.0.0-blue.svg?style=for-the-badge)\n![NodeJS](https://img.shields.io/badge/NodeJS-v22%2B-%235FA04E?style=for-the-badge\u0026logo=nodedotjs\u0026logoColor=white\u0026logoSize=auto)\n![Prettier](https://img.shields.io/badge/Prettier-%23F7B93E?style=for-the-badge\u0026logo=prettier\u0026logoColor=black\u0026logoSize=auto)\n\nOfficial Discord bot for the **Deakin University Cybersecurity Association (DUCA)** Discord community server.  \nDUCA Sentinel provides member verification, utility commands, and entertainment features to enhance the server experience.\n\n## 📂 Project Structure\n\n```\nduca-sentinel/\n├── .husky/              # Git pre-commit hooks\n│\n├── dist/                # Compiled JavaScript output\n│\n├── emojis/              # Custom emoji assets\n│\n├── src/\n│   ├── commands/        # Discord slash commands\n│   ├── config/\n│   ├── events/          # Discord event handlers\n│   ├── lib/             # External libraries\n│   ├── utils/           # Utility/helper functions\n│   └── index.ts\n│\n├── .env                 # Environment variables\n├── .env.exampple        # Example environment variables\n├── .gitattributes       # Git config\n├── .gitignore           # Git ignore\n├── .gitlab-ci.yml\n├── .prettierrc          # Prettier config\n├── CONTRIBUTING.md\n├── package-lock.json\n├── package.json         # Project metadata \u0026 dependencies\n├── README.md\n└── tsconfig.json        # TypeScript configuration\n```\n\n## 🚀 Getting Started\n\n### Prerequisites\n\n- **Node.js** (v22 or higher)\n\n### Installation\n\n1. **Clone the repository**\n\n    ```bash\n    git clone https://github.com/duca-club/duca-sentinel.git\n    cd duca-sentinel\n    ```\n\n2. **Install dependencies**\n\n    ```bash\n    npm install\n    ```\n\n3. **Set up environment variables**\n\n    Create a `.env` file in the root directory using the provided `.env.example` template:\n\n    ```bash\n    cp .env.example .env\n    ```\n\n    Configure environment variables:\n    | Variable | Description | Required |\n    |----------|-------------|----------|\n    | `DISCORD_TOKEN` | Your Discord bot token | ✅ |\n    | `GUILD_ID` | Discord server ID | ✅ |\n    | `DEV_ROLE_ID` | Developer role ID for dev commands | ✅ |\n    | `MEMBER_ROLE_ID` | Member role ID (for verification) | ✅ |\n    | `SUPABASE_URL` | Supabase project URL | ✅ |\n    | `SUPABASE_ANON_KEY` | Supabase anonymous key | ✅ |\n\n4. **Build the project**\n\n    ```bash\n    npm run build\n    ```\n\n5. **Start the bot**\n    ```bash\n    npm start\n    ```\n\n## 🤝 Contributing\n\nPlease refer to the [contribution guideline](CONTRIBUTING.md) for more details.\n\n## ❤️ Acknowledgements\n\nDeveloping this project is possible thanks to the following tools:\n\n- [discord.js](https://discord.js.org) - Powerful Node.js module that allows interaction with the Discord API.\n- [CommandKit](https://commandkit.js.org) - A discord.js handler for commands and events.\n- [Supabase](https://supabase.com) - Open-source Firebase alternative.\n\n---\n\n\u003cp align=\"center\"\u003e\n  \u003cstrong\u003eMade with ❤️ by \u003ca href=\"https://www.linkedin.com/in/pasinduperamuna\"\u003edec1bel\u003c/a\u003e\u003c/strong\u003e\n\u003c/p\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduca-club%2Fduca-sentinel","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fduca-club%2Fduca-sentinel","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fduca-club%2Fduca-sentinel/lists"}