package
0.0.0-20200526111342-3af5e6782ac8
Repository: https://github.com/jexia/discord-bot.git
Documentation: pkg.go.dev

# Functions

StartWatching is a helper function that will call all events allowing then to subscribe then to their related event.
StartWatchingGithubReleases subscribes to the GitHub release event channel.
WebhookListener is the endpoint for which the GitHub webhook events should be sent It checks if we support the sent event and handles it accordingly.

# Structs

Owner is the data related to the GitHub repository owner, can be a user or and organisation.
Release is the data sent when the event of the payload is a repository release.
Repository is the data related to a GitHub repository.
Sender is the data related to the GitHub event creator, can be a user or a bot.
Webhook is the payload GitHub sends on a webhook event.