{"id":27329546,"url":"https://github.com/brainboxdotcc/templatebot","last_synced_at":"2025-04-12T12:55:44.290Z","repository":{"id":43485975,"uuid":"365733332","full_name":"brainboxdotcc/templatebot","owner":"brainboxdotcc","description":"CMake template for a simple D++ bot. ","archived":false,"fork":false,"pushed_at":"2023-10-09T19:50:44.000Z","size":41,"stargazers_count":8,"open_issues_count":1,"forks_count":7,"subscribers_count":5,"default_branch":"main","last_synced_at":"2024-04-25T00:11:08.433Z","etag":null,"topics":["api","container","cpp","discord","discord-api","discord-api-v10","discord-api-wrapper","docker","dplusplus","dpp","hacktoberfest","linux","osx"],"latest_commit_sha":null,"homepage":"https://dpp.dev/","language":"CMake","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/brainboxdotcc.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":"CONTRIBUTING.md","funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-05-09T11:13:08.000Z","updated_at":"2024-04-17T12:04:26.000Z","dependencies_parsed_at":"2023-01-31T21:05:13.662Z","dependency_job_id":null,"html_url":"https://github.com/brainboxdotcc/templatebot","commit_stats":null,"previous_names":[],"tags_count":0,"template":true,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Ftemplatebot","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Ftemplatebot/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Ftemplatebot/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/brainboxdotcc%2Ftemplatebot/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/brainboxdotcc","download_url":"https://codeload.github.com/brainboxdotcc/templatebot/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248571865,"owners_count":21126520,"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","container","cpp","discord","discord-api","discord-api-v10","discord-api-wrapper","docker","dplusplus","dpp","hacktoberfest","linux","osx"],"created_at":"2025-04-12T12:55:43.565Z","updated_at":"2025-04-12T12:55:44.285Z","avatar_url":"https://github.com/brainboxdotcc.png","language":"CMake","readme":"# D++ CMake Template (templatebot)\n\nCMake template for a simple [D++](https://dpp.dev) bot. This template assumes that D++ is already installed.\n\n## Compilation\n\n    mkdir build\n    cd build\n    cmake ..\n    make -j\n\nIf DPP is installed in a different location you can specify the root directory to look in while running cmake \n\n    cmake .. -DDPP_ROOT_DIR=\u003cyour-path\u003e\n\n## Running the template bot\n\nCreate a config.json in the directory above the build directory:\n\n```json\n{ \"token\": \"your bot token here\" }\n```\n\nStart the bot:\n\n    cd build\n    ./templatebot\n\n## Extending the bot\n\nYou can add as many header files and .cpp files into the src and include folders as you wish. All .cpp files in the src directory will be linked together into the bot's executable.\n\n## Renaming the bot\n\nTo rename the bot, search and replace \"templatebot\" in the `CMakeLists.txt` with your new bots name and then rename the templatebot folder in include. Rerun `cmake ..` from the `build` directory and rebuild.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainboxdotcc%2Ftemplatebot","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbrainboxdotcc%2Ftemplatebot","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbrainboxdotcc%2Ftemplatebot/lists"}