{"id":14983324,"url":"https://github.com/lwzff/discord-bot-template-v14","last_synced_at":"2026-02-15T03:02:47.974Z","repository":{"id":181499226,"uuid":"589960219","full_name":"lwzff/discord-bot-template-v14","owner":"lwzff","description":"Simple, stable, working, efficient, Discord bot template for Discord.JS V14","archived":false,"fork":false,"pushed_at":"2024-10-05T18:18:17.000Z","size":39,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-29T22:38:39.300Z","etag":null,"topics":["discord","discord-bot","discord-js","discordbot","discordjs","discordjs-bot","discordjs-v14","discordjsbot","djs","djs-v14","djsbot","djsv14"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/lwzff.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"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,"publiccode":null,"codemeta":null}},"created_at":"2023-01-17T10:48:19.000Z","updated_at":"2025-02-17T20:11:30.000Z","dependencies_parsed_at":"2024-02-05T17:02:04.559Z","dependency_job_id":"b6360ac0-e840-4c17-8c29-0acdec474e03","html_url":"https://github.com/lwzff/discord-bot-template-v14","commit_stats":{"total_commits":26,"total_committers":2,"mean_commits":13.0,"dds":"0.46153846153846156","last_synced_commit":"a9bbbd5a6f4a0611cb4ae56dd035342ebf9ac3ce"},"previous_names":["lwzff/discord-bot-template-v14"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/lwzff/discord-bot-template-v14","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwzff%2Fdiscord-bot-template-v14","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwzff%2Fdiscord-bot-template-v14/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwzff%2Fdiscord-bot-template-v14/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwzff%2Fdiscord-bot-template-v14/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/lwzff","download_url":"https://codeload.github.com/lwzff/discord-bot-template-v14/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/lwzff%2Fdiscord-bot-template-v14/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":29466925,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-02-15T01:01:38.065Z","status":"online","status_checked_at":"2026-02-15T02:00:07.449Z","response_time":118,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"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":["discord","discord-bot","discord-js","discordbot","discordjs","discordjs-bot","discordjs-v14","discordjsbot","djs","djs-v14","djsbot","djsv14"],"created_at":"2024-09-24T14:07:03.988Z","updated_at":"2026-02-15T03:02:47.953Z","avatar_url":"https://github.com/lwzff.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"\n# Discord Bot Template (DJS v14)\n\nThis repository includes my personal bot template (all the base that I own and I am using for my current bots).\n\n## Need help ?\n[Try out the documentation!](https://github.com/lwzff/discord-bot-template-v14?tab=readme-ov-file#documentation)\n\n## Installation\n\n1. Clone this project and/or download the ZIP file. \n\n2. Get your [Discord Bot Token](https://discord.com/developers/applications) and then copy/paste it into the **.env** file.\n\n3. Get your [MongoDB Database URL](https://cloud.mongodb.com/) and then copy/paste it into the **.env** file.\n\n**Note:**\nIf you don't have any MongoDB Database, leave it blank.\n\nAfter that, install all dependencies with npm:\n```bash\n  npm i\n```\n\n**Dependencies (in case of any problems):**\n- discord.js\n- mongoose\n- term-logger\n- fs\n- dotenv\n\n## Documentation\n\nWork in progress..\n\n### Mongoose (MongoDB) Model/Schema Example\n\n1. Create your model in **/models/** as **MyModel.js**.\n2. Put the code below in this file and edit it like you want.\n\n```js\nconst mongoose = require(\"mongoose\");\n\nmodule.exports = mongoose.model(\n    \"MyModelName\",\n    new mongoose.Schema({\n        property1: { type: String, required: true, unique: true },\n    })\n);\n```\n\n\u003e How to use this model ?\n\nPut at the top-level of your command file or event file this (based on your model).\n```js\nconst { MyModelName } = require('../../models/MyModel');\n```\n\n### Function Example\n\n1. Create your function in **/functions/** as **MyFunction.js**.\n2. Put the code below in this file and edit it like you want.\n \n```js\nmodule.exports.functionName = (arg1) =\u003e {\n    console.log(arg1)\n    return arg1\n}\n```\n\n\u003e How to use this function ?\n\nPut at the top-level of your command file or event file this (based on your function).\n```js\nconst { functionName } = require('../../functions/MyFunction');\n```\n\n## Authors\n\n- [@lwzff](https://www.twitter.com/lwzff)\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwzff%2Fdiscord-bot-template-v14","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Flwzff%2Fdiscord-bot-template-v14","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Flwzff%2Fdiscord-bot-template-v14/lists"}