{"id":13689727,"url":"https://github.com/KlasaCommunityPlugins/raw-events","last_synced_at":"2025-05-02T06:31:11.148Z","repository":{"id":57124181,"uuid":"151618952","full_name":"KlasaCommunityPlugins/raw-events","owner":"KlasaCommunityPlugins","description":"  Simple plugin to handle raw events with ease.","archived":false,"fork":false,"pushed_at":"2019-09-30T18:57:45.000Z","size":649,"stargazers_count":2,"open_issues_count":0,"forks_count":2,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-03-18T03:57:18.768Z","etag":null,"topics":["bot","klasa","plugin"],"latest_commit_sha":null,"homepage":null,"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/KlasaCommunityPlugins.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":"2018-10-04T18:36:48.000Z","updated_at":"2019-09-30T18:57:46.000Z","dependencies_parsed_at":"2022-08-29T06:30:12.526Z","dependency_job_id":null,"html_url":"https://github.com/KlasaCommunityPlugins/raw-events","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/KlasaCommunityPlugins%2Fraw-events","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KlasaCommunityPlugins%2Fraw-events/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KlasaCommunityPlugins%2Fraw-events/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/KlasaCommunityPlugins%2Fraw-events/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/KlasaCommunityPlugins","download_url":"https://codeload.github.com/KlasaCommunityPlugins/raw-events/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251998299,"owners_count":21677969,"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":["bot","klasa","plugin"],"created_at":"2024-08-02T16:00:23.192Z","updated_at":"2025-05-02T06:31:10.854Z","avatar_url":"https://github.com/KlasaCommunityPlugins.png","language":"TypeScript","funding_links":[],"categories":["Libraries"],"sub_categories":[],"readme":"\u003cdiv\u003e\n\t\u003cbr/\u003e\n\t\u003cp\u003e\n\t    \u003ca href=\"https://www.npmjs.com/package/@kcp/raw-events\"\u003e\u003cimg src=\"https://img.shields.io/npm/v/@kcp/raw-events.svg?maxAge=3600\" alt=\"NPM version\" /\u003e\u003c/a\u003e\n\t\t\u003ca href=\"https://www.npmjs.com/package/@kcp/raw-events\"\u003e\u003cimg src=\"https://img.shields.io/npm/dt/@kcp/raw-events.svg?maxAge=3600\" alt=\"NPM downloads\" /\u003e\u003c/a\u003e\n\t\t\u003ca href=\"https://packagephobia.now.sh/result?p=@kcp/raw-events\"\u003e\u003cimg src=\"https://packagephobia.now.sh/badge?p=@kcp/raw-events\" alt=\"Install Size\"\u003e\u003c/a\u003e\n        \u003ca href=\"https://dev.azure.com/klasacommunityplugins/Plugins/_build/latest?definitionId=3\u0026branchName=master\"\u003e\u003cimg src=\"https://dev.azure.com/klasacommunityplugins/Plugins/_apis/build/status/Raw%20Events?branchName=master\" alt=\"Build Status\"\u003e\u003c/a\u003e\n\t\u003c/p\u003e\n\t\u003cp\u003e\n    \u003ca href=\"https://nodei.co/npm/@kcp/raw-events\"\u003e\u003cimg src=\"https://nodei.co/npm/@kcp/raw-events.png?downloads=true\u0026stars=true\" alt=\"NPM info\"\u003e\u003c/a\u003e\n  \u003c/p\u003e\n\u003c/div\u003e\n\n# Raw Events\n\nA simple Klasa plugin which allows you to handle raw events with ease.\n\n## How To Use\n\n1. Install the plugin.\n\n```bash\nnpm i @kcp/raw-events\n\n# If you use yarn\nyarn add @kcp/raw-events\n```\n\n1. Use `@kcp/raw-events` in your client.\n\n```js\nconst { Client } = require(\"klasa\");\nClient.use(require(\"@kcp/raw-events\"));\n```\n\nIf you use TypeScript\n\n```ts\nimport { Client } from 'klasa';\nimport { Client as RawEventsClient } from '@kcp/raw-events';\n\nClient.use(RawEventsClient);\n```\n\n1. Create a new `raw-event` in your `rawEvents` folder.\n\n```js\nconst { RawEvent } = require(\"klasa-raw-events\");\n\nmodule.exports = class extends RawEvent {\n    run(data) {\n        // Your Code Here\n    }\n}\n```\n\n1. ???... Enjoy!\n\n## License\n\nThis project is under the [MIT](https://github.com/KlasaCommunityPlugins/raw-events/blob/master/LICENSE) license.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKlasaCommunityPlugins%2Fraw-events","html_url":"https://awesome.ecosyste.ms/projects/github.com%2FKlasaCommunityPlugins%2Fraw-events","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2FKlasaCommunityPlugins%2Fraw-events/lists"}