EthanThatOneKid / gitcord

😎 expand GitHub into Discord
MIT License
5 stars 2 forks source link

Open new thread on reopen event #22

Closed EthanThatOneKid closed 1 year ago

EthanThatOneKid commented 1 year ago

Current behavior

Embed a message into a Discord thread to notify that an issue/PR has been reopened.

If the Discord thread does not exist, throw an error.

Relevant code:

https://github.com/EthanThatOneKid/gitcord/blob/d9b3b2e1ba63ccf4b818349938bada054cb98510/gitcord/client.go#L151-L152https://github.com/EthanThatOneKid/gitcord/blob/d9b3b2e1ba63ccf4b818349938bada054cb98510/gitcord/client.go#L207-L208

Desired behavior

If the Discord thread does not exist, create one.