webhook-discord
webhook-discord copied to clipboard
A simple Javascript file for nicely formatting Discord webhooks
Updates the package.json to be usable in Typescript ESM projects. This worked for me by changing downstream. https://www.typescriptlang.org/docs/handbook/esm-node.html#packagejson-exports-imports-and-self-referencing https://nodejs.org/api/packages.html#packages_exports
Bumps [minimist](https://github.com/substack/minimist) from 1.2.5 to 1.2.6. Commits 7efb22a 1.2.6 ef88b93 security notice for additional prototype pollution issue c2b9819 isConstructorOrProto adapted from PR bc8ecee test from prototype pollution PR See full...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.12.0 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
I test it on a NextJS project. and I got this every time when I want to use message builder. ``` Unhandled Runtime Error Error: 400 undefined Source .next\static\chunks\pages\test.js (195:0)...
I have installed all modules and copied the custom message example into VS Code. When I ran the code, it returned **UnhandledPromiseRejectionWarning: Error: 400 Bad Request**
Bumps [glob-parent](https://github.com/gulpjs/glob-parent) from 5.1.1 to 5.1.2. Release notes Sourced from glob-parent's releases. v5.1.2 Bug Fixes eliminate ReDoS (#36) (f923116) Changelog Sourced from glob-parent's changelog. 5.1.2 (2021-03-06) Bug Fixes eliminate ReDoS...
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.19 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
It appears that `token` is no longer returning by Discord (see https://github.com/discord/discord-api-docs/issues/3056) when using Discord webhooks generated by a bot. This causes the following issue: ``` UnhandledPromiseRejectionWarning: Error: 401 Unauthorized...
As said in the title, currently we use the `/slack` endpoint since when I created this library this is what I was most knowledgable with. We should now migrate this...
Right now, the package lacks support of async await. Should this be implemented?