franopusz2006

franopusz2006

0-day streak
https://imgutil.s3.us-east-2.amazonaws.com/e05c48f1970288c4d4291e878cb3f688814742a78d194a8c78c56075b82be43e/ceaab3dd-c42c-47b5-b332-4d811772fb65.png
sprig-dino emoji
summer-of-making emoji
After three days of fighting and learning TypeScript, abstract classes, and interfaces, I've created a simple cross-platform bot framework. Currently, it's quite buggy; for instance, Discord commands don't register automatically. However, it serves as a solid foundation for future updates. In summary, this library enables writing single commands and event logic that can be utilized with Discord, Slack, or a REST API. There's a simple example in the repository and brief documentation for those interested. GitHub: github.com/Frankoslaw/InterCord NPM: www.npmjs.com/package/@frankoslaw/intercord docs: frankoslaw.github.io/InterCord/# random testing: github.com/Frankoslaw/ArcadeProjects/tree/main/slack_test
https://imgutil.s3.us-east-2.amazonaws.com/e8bedc95c6f09e0caa7ac8c22e220882e811827ce5749c595dfc5faa9b9e3b1f/882c7646-612c-4dc6-a39a-e05bf594ea39.png
To keep track of progress. I have discord events and commands working in discord.js. It is time to utilize abstract classes to decouple logic from event triggers 😄. I will post a link to the repo after I clean this up in a moment, with a few new changes like support for Slack:
https://scrapbook-into-the-redwoods.s3.amazonaws.com/8b1d4d3e-d82d-4c87-9eca-8e2574d34f16-image.png