{"id":20095998,"url":"https://github.com/avicted/discord-2000","last_synced_at":"2025-10-26T04:44:34.316Z","repository":{"id":51850208,"uuid":"313695125","full_name":"Avicted/discord-2000","owner":"Avicted","description":"TypeScript / Node.js Discord bot where commands and events are easy to add.","archived":false,"fork":false,"pushed_at":"2021-10-20T19:57:52.000Z","size":520,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-13T03:42:09.871Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"TypeScript","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/Avicted.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}},"created_at":"2020-11-17T17:35:11.000Z","updated_at":"2022-05-07T20:50:47.000Z","dependencies_parsed_at":"2022-08-23T10:40:48.757Z","dependency_job_id":null,"html_url":"https://github.com/Avicted/discord-2000","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fdiscord-2000","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fdiscord-2000/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fdiscord-2000/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Avicted%2Fdiscord-2000/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Avicted","download_url":"https://codeload.github.com/Avicted/discord-2000/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241535252,"owners_count":19978112,"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":[],"created_at":"2024-11-13T16:57:16.780Z","updated_at":"2025-10-26T04:44:34.257Z","avatar_url":"https://github.com/Avicted.png","language":"TypeScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Discord-2000 bot\n\n## Description\nThis application is a Discord bot where new commands and events are easy to implement. New commands and events are automatically added to the bot. No need to declare anywhere that a new command or event has been implemented.\n\n### Prerequisites\n* Docker\n* VSCode\n    * Plugin: \n        Name: Remote - Containers VS Marketplace Link: https://marketplace.visualstudio.com/items?itemName=ms-vscode-remote.remote-containers\n\n---\n\n## Development\n\n**Open the workspace in VSCode `/workspace.code.workspace`**\n\nCreate an .env file with the contents from the .env.example, provide the secrets. Configure all variables inside `\u003c \u003e` to your liking.\nDevelop inside a remote docker container in VSCode.\n\nStart typescript in watch mode, recompile and restart nodejs on file changes:\n\n`npm run dev`\n\n---\n\n### New commands\nTo create a new command:\nCreate a new .ts file in src/commands. Create a class that implements the ICommand interface.\nThe most basic example can be found in `src/command/ping.ts`\n\n### New Events\n\nTo create a new event:\nCreate a new .ts file in src/events. Create a class that implements the IEvent interface.\nAll events and their function parameters are available in the discord.js documentation. The most basic example can be found in `src/events/ready.ts`\n\n**The name of a typescript event file should match an event from discord.js.** This is how the application knows which event you are implementing in a particular file.\n\n### Audio files (the !play command)\n\nPlace .ogg audio files in the media directory\nThese files can be played back in a voice channel with the command:\n`!play \u003cfile_name\u003e`\nThe .ogg audio files are automatically listed in the `!help` command.\n\n---\n\n## Production\n\nCreate an .env file with the contents from the .env.example, provide the secrets. Configure all variables inside the placeholder `\u003c \u003e` to your liking.\n\nRun the application with docker-compose:\n* `docker-compose up -d --build`. \n* The logs of the app can be tailed with `docker-compose logs --follow`\n\n---\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favicted%2Fdiscord-2000","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Favicted%2Fdiscord-2000","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Favicted%2Fdiscord-2000/lists"}