owddm / discord-bot

Bot for discord
2 stars 2 forks source link

Add GitHub issue handler #4

Open nakajimayoshi opened 1 year ago

nakajimayoshi commented 1 year ago

Add a handler which leverages the GitHub API to sync issues to discord.

Features:

martinheidegger commented 1 year ago

This can/could be done using github actions! (at least in the gh → discord direction) the other way is more difficult.

nakajimayoshi commented 1 year ago

The broadcasting will be the easy part as that is the main responsibility of the GitHub API, since various discord actions would occur in response to different GitHub events (closing of threads, updating, opening) it'd be easier to put all the logic in one "handler" on the bot