{"id":22636212,"url":"https://github.com/cvyl/dishook","last_synced_at":"2026-05-01T10:31:08.121Z","repository":{"id":214628140,"uuid":"736991898","full_name":"cvyl/dishook","owner":"cvyl","description":"Simple Discord Webhook Wrapper written in TypeScript","archived":false,"fork":false,"pushed_at":"2025-08-07T02:46:41.000Z","size":612,"stargazers_count":1,"open_issues_count":2,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-10-11T04:43:55.627Z","etag":null,"topics":["discord","discord-api","discord-api-wrapper","discord-ts","discord-typescript","discord-webhook","discord-webhook-api","discord-webhooks"],"latest_commit_sha":null,"homepage":"https://lgbt.sh/dishook/","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/cvyl.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},"funding":{"github":"cvyl"}},"created_at":"2023-12-29T13:28:10.000Z","updated_at":"2024-10-08T11:34:45.000Z","dependencies_parsed_at":null,"dependency_job_id":"5e130be1-b2dc-4fff-95b3-9f4919fb18b3","html_url":"https://github.com/cvyl/dishook","commit_stats":null,"previous_names":["ly-nld/dishook","cvyl/dishook"],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/cvyl/dishook","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvyl%2Fdishook","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvyl%2Fdishook/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvyl%2Fdishook/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvyl%2Fdishook/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/cvyl","download_url":"https://codeload.github.com/cvyl/dishook/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/cvyl%2Fdishook/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32494270,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"online","status_checked_at":"2026-05-01T02:00:05.856Z","response_time":64,"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-api","discord-api-wrapper","discord-ts","discord-typescript","discord-webhook","discord-webhook-api","discord-webhooks"],"created_at":"2024-12-09T03:18:46.313Z","updated_at":"2026-05-01T10:31:07.855Z","avatar_url":"https://github.com/cvyl.png","language":"TypeScript","funding_links":["https://github.com/sponsors/cvyl"],"categories":[],"sub_categories":[],"readme":"# Welcome to @cvyl/dishook 👋\n[![Version](https://img.shields.io/npm/v/@ly-nld/dishook.svg)](https://www.npmjs.com/package/@ly-nld/dishook)\n[![Documentation](https://img.shields.io/badge/documentation-yes-brightgreen.svg)](https://lgbt.sh/dishook/)\n[![Maintenance](https://img.shields.io/badge/Maintained%3F-yes-green.svg)](https://github.com/ly-nld/dishook/graphs/commit-activity)\n[![License: MIT](https://img.shields.io/github/license/ly-nld/@ly-nld/dishook)](https://github.com/ly-nld/dishook/blob/master/LICENSE)\n\n\u003e Simple Discord Webhook Wrapper\n\n### 🏠 [Homepage](https://github.com/cvyl/dishook)\n\n## Install\n\n```sh\nnpm install\n```\n\n## Run tests\n\n```sh\nnpm run test\n```\n\nExample usage\n```ts\nimport { Embed, Webhook } from '@ly-nld/dishook'\n\nconst hook = new Webhook('WEBHOOK_HERE')\nconst embed = new Embed()\n\nembed\n \t.setTitle('Hello, world!')\n\t.setDescription('This is a description')\n\t.setURL('https://google.com')\n\t.setColor(0x00ff00)\n\t.setFooter({\n\t\ttext: 'This is a footer',\n\t\ticon_url: 'https://google.com',\n\t})\n\t.setTimestamp()\n\t.addField({\n\t\tname: 'Field 1',\n\t\tvalue: 'Hello, world!',\n\t\tinline: true,\n\t})\n\nhook.addEmbed(embed).send()\n\nhook\n\t.setTTS(true)\n\t.setContent('Hello, world!')\n\t.setUsername('Webhook')\n\t.setAvatarUrl('https://google.com')\n\t.send()\n```\n* Website: cvyl.me\n* Github: [@cvyl](https://github.com/cvyl)\n* Issues: [issues page](https://github.com/cvyl/dishook/issues).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvyl%2Fdishook","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fcvyl%2Fdishook","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fcvyl%2Fdishook/lists"}