discord-relay-chat / drc

Discord Relay Chat
https://discordrc.com
MIT License
18 stars 3 forks source link

Refactor the myriad of `send`-points into as few as possible #34

Open edfletcher opened 6 months ago

edfletcher commented 6 months ago

In the course of addressing #28 it became very clear that there are far too many send points in the discord code. Ultimately all of them are emitting to a channel, so there is no reason there shouldn't be a single drcSend (or similar) that everything funnels through, instead of having to modify each code path that contains one of these (like the commit for #28 had to).