mattipv4 / workers-discord Goto Github PK
View Code? Open in Web Editor NEWSome wrappers for Discord applications in Workers
Home Page: https://www.npmjs.com/package/workers-discord
License: Apache License 2.0
Some wrappers for Discord applications in Workers
Home Page: https://www.npmjs.com/package/workers-discord
License: Apache License 2.0
Instead of rolling our own crypto logic, might as well rely on https://www.npmjs.com/package/discord-verify which is cross-platform and uses web-crypto as well, but supposedly has a more efficient approach to the decoding (and means we're not rolling our own logic).
Setup eslint following their recommended ruleset, supporting typescript, and likely the import plugin. A few specific things I expect to be linted:
type
Run prettier over the repo. Setup husky + lint-staged to automatically run prettier on committed files. Update test
script to check prettier formatting as well as running tsc
.
I think a nice structure would be to have both under a contexts object: contexts: { installation: [], interaction: [] }
.
This is blocked by discordjs/discord-api-types#921
Add a GitHub Actions workflow to run the test
script on each push and pull request.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.