Assigning ID hints outside of builders
Is it possible to assign id hints outside of builders? Currently it's impossible to juggle id hints between the dev bot and the main bot and I was wondering if there's a way to do this outside of the builder, maybe before the client is initialized
Solution:Jump to solution
You can use environment variables specifyig individual id hints or a separate file like
config.ts
which will have this:
```ts
const prodHints = {
hint1: "id hint 1",
hint2: "id hint 2",...3 Replies
Solution
You can use environment variables specifyig individual id hints or a separate file like
config.ts
which will have this:
And then import them into the place where you need them
There was also something called
bulk overwrite
by which you wouldn't need to specify id hints 🤔
This is smart, I like this. Thanks for the idea