{"id":18664909,"url":"https://github.com/mazkdevf/discord-custom-bot-express","last_synced_at":"2026-04-12T15:37:03.741Z","repository":{"id":227390003,"uuid":"675405872","full_name":"mazkdevf/discord-custom-bot-express","owner":"mazkdevf","description":"Discord Custom Bots using Express API","archived":false,"fork":false,"pushed_at":"2023-08-06T20:29:12.000Z","size":12,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2024-12-27T17:27:48.815Z","etag":null,"topics":["api","bots","customs","discord","discordjs","express"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mazkdevf.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","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},"funding":{"github":["mazkdevf"],"patreon":null,"open_collective":null,"ko_fi":null,"tidelift":null,"community_bridge":null,"liberapay":null,"issuehunt":null,"otechie":null,"lfx_crowdfunding":null,"custom":null}},"created_at":"2023-08-06T19:58:48.000Z","updated_at":"2024-03-13T02:44:32.000Z","dependencies_parsed_at":"2024-03-13T04:50:35.912Z","dependency_job_id":null,"html_url":"https://github.com/mazkdevf/discord-custom-bot-express","commit_stats":null,"previous_names":["mazkdevf/discord-custom-bot-express"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fdiscord-custom-bot-express","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fdiscord-custom-bot-express/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fdiscord-custom-bot-express/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mazkdevf%2Fdiscord-custom-bot-express/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mazkdevf","download_url":"https://codeload.github.com/mazkdevf/discord-custom-bot-express/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239491505,"owners_count":19647842,"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","bots","customs","discord","discordjs","express"],"created_at":"2024-11-07T08:25:28.896Z","updated_at":"2026-04-12T15:36:58.720Z","avatar_url":"https://github.com/mazkdevf.png","language":"JavaScript","funding_links":["https://github.com/sponsors/mazkdevf"],"categories":[],"sub_categories":[],"readme":"# Discord Custom Bots using Express API\n\n## Overview\n\nThis repository utilizes Express with various API endpoints to create Discord Bots capable of serving different purposes.\n\n## Features\n1. Supports the management of multiple bots, from a single user to multiple users. (Tested in a simulated scenario, not in a real-world environment)\n2. Implemented a security feature that disables the bot token after three consecutive login failure attempts. The token will remain disabled until corrected by the user through the API endpoint. (Future updates will allow automatic reactivation of the token upon successful user submission.)\n3. Provides support for various JavaScript commands stored in the `\"./commands\"` folder.\n4. Implemented an automatic restart mechanism for the bot in case of failures or errors.\n\n**Future enhancements** will include webhook integration to notify designated management **Discord** or **Telegram** channels, facilitating prompt issue resolution.\n\n## API Endpoints\n### POST \"/api/v1/bots/create\"\nEndpoint to create new Discord bots.\n\n### GET \"/api/v1/bots/fetch\"\nEndpoint to fetch information about existing Discord bots.\n\n### DELETE \"/api/v1/bots/delete\"\nEndpoint to delete Discord bots.\n\n## TODO\n\nThe following API endpoints will be implemented for Discord integration:\n### POST \"/api/v1/discord\"\nEndpoint to interact with Discord API using various HTTP methods.\n\n#### For example:\n- POST \"/api/v1/discord/users/@me\" will access \"https://discord.com/api/v10/users/@me\"\n- PUT, GET, DELETE, PATCH endpoints will also be supported.\n\nAll endpoints return responses in JSON format, containing essential information. (EXCEPT Discord API)\n\n```json\n{\n    \"success\": true or false,\n    \"message\": \"something here\",\n    // something additional....\n}\n```\n\n## Images\n\n![image](https://github.com/mazkdevf/discord-custom-bot-express/assets/79049205/ba46f1ec-e755-40af-be5a-caf01b3f0a3b)\n\n![image](https://github.com/mazkdevf/discord-custom-bot-express/assets/79049205/ff091a65-0a49-4a51-91b7-e37151896eb1)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazkdevf%2Fdiscord-custom-bot-express","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmazkdevf%2Fdiscord-custom-bot-express","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmazkdevf%2Fdiscord-custom-bot-express/lists"}