{"id":26375757,"url":"https://github.com/syipmong/discord","last_synced_at":"2025-10-11T15:14:20.801Z","repository":{"id":235327984,"uuid":"625534714","full_name":"Syipmong/Discord","owner":"Syipmong","description":null,"archived":false,"fork":false,"pushed_at":"2023-04-09T12:18:00.000Z","size":10918,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-03-17T02:18:18.231Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/Syipmong.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}},"created_at":"2023-04-09T12:17:47.000Z","updated_at":"2023-12-12T14:49:06.000Z","dependencies_parsed_at":"2024-04-23T03:51:35.873Z","dependency_job_id":null,"html_url":"https://github.com/Syipmong/Discord","commit_stats":null,"previous_names":["syipmong/discord"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Syipmong/Discord","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syipmong%2FDiscord","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syipmong%2FDiscord/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syipmong%2FDiscord/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syipmong%2FDiscord/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Syipmong","download_url":"https://codeload.github.com/Syipmong/Discord/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Syipmong%2FDiscord/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":279007598,"owners_count":26084333,"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","status":"online","status_checked_at":"2025-10-11T02:00:06.511Z","response_time":55,"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":[],"created_at":"2025-03-17T02:18:24.784Z","updated_at":"2025-10-11T15:14:20.758Z","avatar_url":"https://github.com/Syipmong.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"## Setup\n\nFirst of all, go to [discord developer dashboard](https://discord.com/developers/applications/) and choose the bot you want to host, go to the bot tab, and click on `Regenerate token`, and then copy the token.\n\nAfter this, go to the \"Lock\"-like tab on replit and here, in the `key` enter `DISCORD_TOKEN` and in the `value` field, enter the token you copied from discord developer dashboard.\n![image](https://i.postimg.cc/k5tMPRpk/image.png)\n\n---\n\n## Configuration\n\nYou can modify any kind of configuration in `src/config.ts`. DO NOT change any files in the `dist` directory as they are all generated files and should not be manually edited.\n\n---\n\n## Commands\n\nIn the template, the bot has 3 basic commands: -\n\n1. `help`: Shows the list of commands or details of a specific command.\n2. `say`: Repeats whatever the users tells it to.\n3. `ping`: Checks connectivity with discord servers.\n\nYou can edit these commands and/or add more in `src/index.ts`. After creating the command in `src/index.ts`, go to `src/commands.ts` and to the json, add a new entry with the format\n```ts\n{\n  ...,\n  'command-name': {\n    aliases: ['these', 'are', 'optional'],\n    description: 'This command does xyz...',\n    format: 'command-name \u003cmy-args\u003e'\n  }\n}\n```\n\nHere, `command-name` is the name of your new command, `aliases` is an array of the aliases (other ways to invoke this command). The `description` and `format` are required fields to display the command properly in the help embed.\n\n\u003e **NOTE :** This is solely to add the command to the help embed, this does not affect the working of commands whatsoever, this only adds the command to help embeds.\n\n---\n\n## Hosting\n\nFinally, once you are done writing your bot, first step is to compile it, for this, open the shell on the right hand side and run `npm run build`. This will compile your code and prepare it for running. After this, just press the run button and your bot is online! ![image](https://i.postimg.cc/dtbZkvKP/image.png)\n\nYou can also turn on `Always On` to further improve your hosting experience.","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyipmong%2Fdiscord","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsyipmong%2Fdiscord","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsyipmong%2Fdiscord/lists"}