Did create a KV and bind it to the worker in the settings on the Web UI ?
Did create a KV and bind it to the worker in the settings on the Web UI ?
env.XYZ in code but now it is an array which can't be interacted with. Any help is appreciated! Happy to paste some of the toml and what not if that would be helpful!kv_namespaces = [ below [vars]env.dev.vars.


Event Notifications for R2 are just the beginning, though. There are many kinds of events you might want to trigger as a developer — these are just some of the event types we’re planning to support:
Changes (writes) to key-value pairs in your Workers KV namespaces.
Updates to your D1 databases, including changed rows or triggers.
KV does not perform like an in-memory datastore, such as Redis. Accessing KV values, even when locally cached, has significantly more latency than reading a value from memory within a Worker script
Vars:
...
- kv-namespaces: [
{
"binding": "XYZ",
"id": "ASDF"
}
]env.XYZkv_namespaces = [[vars][env.dev]
kv_namespaces = [
{ binding = "XYZ", id="ASDF" }
]
vars = { DISCORD_TOKEN = "WER", DISCORD_PUBLIC_KEY = "GFD", DISCORD_APPLICATION_ID = "ASFD" }env.dev.vars