I had to make a few additions outside of the original comment I made - namely, I had to expand the DiscordSession interface to have a Channel function. In order to not break testing, I added a stub function to the in memory discord session, but it currently doesn't return anything useful.
Builds and passes tests, but I haven't tried this in a real Discord channel.
I had to make a few additions outside of the original comment I made - namely, I had to expand the DiscordSession interface to have a Channel function. In order to not break testing, I added a stub function to the in memory discord session, but it currently doesn't return anything useful.
Builds and passes tests, but I haven't tried this in a real Discord channel.