Closed Keyrxng closed 2 weeks ago
A few questions that I'm unsure of myself.
UBIQUIBOT_TOKEN
replaces all instances of GITHUB_TOKEN
?context.logger
should this be using @ubiquity/logger
?@ubiquity/configuration
isn't needed because all of the validation is done kernel side, the types are kernel focused and defaults are no longer going to be passed from the kernel generateConfig()
but from the plugin config instead?I always forget to tag, @gentlementlegen
context.logged
should ideally use the Ubiquity Logger, but currently the logger is too tied to the current implementation and is not usable as such https://github.com/ubiquity/ubiquibot-logger/issues/2Do you have any more info to add to the readme or would like something added/removed?
A good understanding of how the kernel works and how to interact with it. A basic understanding of the Ubiquibot configuration file and how to define your plugin's settings.
Me in my glass house throwing rocks here with these two comments in the readme when I just barely know what's going on 😂
The most important information to find there is:
.ubiquibot-configuration.yml
For Actions, Nektos Act is nice for local testing. For wrangler, I usually have an http file, like here. See also https://github.com/ubiquibot/assistive-pricing?tab=readme-ov-file#make-requests
Maybe the Kernel should also be mentioned to do a full setup.
@gentlementlegen requested changes made. I also removed the ref to ubqbot_token
in Context.ts
Also, would be really appreciated if you could have a look at https://github.com/ubiquity/ubiquibot-logger/issues/2 because it is becoming redundant to every plugin. While it's nice to have it inside of this template, it would be definitely better to have a package that can be shared.
I agree and np if it's still open I'll look into it next week
Resolves https://github.com/ubiquibot/plugins-wishlist/issues/13
ubiquity/ts-template
Supabase
helpers