I want to utilize features like inline links, formatted text, and puppets. I can get at least 2 of these things with webhooks. I'm thinking they can work similarly to how Nicknames are tracked in the Matrix plugin, store them in a map, and try to populate it when necessary.
Discord sets webhooks per channel, so OneBot simply needs to track what channels it has a working webhook on, and attempt creation when it doesn't have one. When creation is impossible, fallback to the current system (just send messages directly, barely better than a normal user).
I want to utilize features like inline links, formatted text, and puppets. I can get at least 2 of these things with webhooks. I'm thinking they can work similarly to how Nicknames are tracked in the Matrix plugin, store them in a map, and try to populate it when necessary.
Discord sets webhooks per channel, so OneBot simply needs to track what channels it has a working webhook on, and attempt creation when it doesn't have one. When creation is impossible, fallback to the current system (just send messages directly, barely better than a normal user).