{"id":22751683,"url":"https://github.com/burakbehlull/discord-bot-typescript","last_synced_at":"2025-07-27T09:40:33.629Z","repository":{"id":246811246,"uuid":"822244615","full_name":"burakbehlull/discord-bot-typescript","owner":"burakbehlull","description":"A discord bot infrastructure written in typescript. Discord Typescript Bot Template.","archived":false,"fork":false,"pushed_at":"2025-06-17T17:42:43.000Z","size":23,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-06-17T17:47:07.400Z","etag":null,"topics":["discord-bot","discord-bot-template","discord-bot-template-ts","discord-bot-typescript","discord-prefix","discord-slash-commands","discord-ts","discord-ts-bot","discordjs-bot","ts-node"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/burakbehlull.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":"2024-06-30T17:29:02.000Z","updated_at":"2025-06-17T17:42:46.000Z","dependencies_parsed_at":null,"dependency_job_id":"7fa04b61-f183-4578-bc56-7fcd76a7f6dc","html_url":"https://github.com/burakbehlull/discord-bot-typescript","commit_stats":null,"previous_names":["burakbehlull/discord-bot-typescript-template"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/burakbehlull/discord-bot-typescript","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakbehlull%2Fdiscord-bot-typescript","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakbehlull%2Fdiscord-bot-typescript/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakbehlull%2Fdiscord-bot-typescript/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakbehlull%2Fdiscord-bot-typescript/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/burakbehlull","download_url":"https://codeload.github.com/burakbehlull/discord-bot-typescript/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/burakbehlull%2Fdiscord-bot-typescript/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":265888899,"owners_count":23844527,"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":["discord-bot","discord-bot-template","discord-bot-template-ts","discord-bot-typescript","discord-prefix","discord-slash-commands","discord-ts","discord-ts-bot","discordjs-bot","ts-node"],"created_at":"2024-12-11T05:06:48.856Z","updated_at":"2025-07-19T04:32:06.813Z","avatar_url":"https://github.com/burakbehlull.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discordjs Bot Typescript\n\n\u003e Run: **npm run dev** or **yarn dev**\n\n| Command | Comment |\n| ------ | ------ | \n| npm start | Runs discord bot |\n| npm run deploy | deploy slash command loads to discord bot |\n\nFill in the ` .env ` file within the project with your information:\n\n```\nTOKEN = \nBOT_ID = \nPREFIX = \n```\n\nUsages:\n\n```js\n\n//  one way\nconst Hello : ITypes.ISlashCommand = {}\nexport default Hello\n\n// two way\nexport default {} as ITypes.ISlashCommand\n\n```\n\n\n### contents:\n* events loader\n* slash commands loader\n* prefix commands loader\n* deploy command\n* defined types\n\n### type usages:\n| type | comment | meets | use |\n| ------ | ------ | ------ | ------ |\n| **IClient** | Bot launch client | .. | use so; client: IClient |\n| **IPrefixCommand** | Used for prefix commands | name, execute | {name: \"exampleCommand\"} as IPrefixCommand |\n| **PrefixCommandArgs** | Is a type given to command values | client, message, args | execute({client, message, args} : PrefixCommandArgs){} |\n| **ISlashCommand** | Used for slash commands | data, execute | {name: \"exampleCommand\"} as ISlashCommand |\n| **SlashCommandArgs** | Is a type given to command values | client, interaction | execute({client, interaction} : SlashCommandArgs){} |\n| **IEvent** | A type given to event files | name, once, execute | IEvent\u003cActivityType.ClientReady\u003e |\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburakbehlull%2Fdiscord-bot-typescript","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fburakbehlull%2Fdiscord-bot-typescript","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fburakbehlull%2Fdiscord-bot-typescript/lists"}