Documentation ¶
Overview ¶
Package discord is the discord module for T.H.O.R.
Index ¶
- type Service
- func (ds *Service) Init(_logger *zerolog.Logger, _ch types.CoreMsgCh) error
- func (ds *Service) SendGitHubIssueAlert(issue *github.Issue, repoName string)
- func (ds *Service) SendGitHubPRAlert()
- func (ds *Service) SendMessage(content string) error
- func (ds *Service) SendYouTubeAlert()
- func (ds *Service) Stop()
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Service ¶
Service is the main discord service struct
func (*Service) SendGitHubIssueAlert ¶
func (*Service) SendGitHubPRAlert ¶
func (ds *Service) SendGitHubPRAlert()
func (*Service) SendMessage ¶
SendMessage sends a message to the specified alert channel
func (*Service) SendYouTubeAlert ¶
func (ds *Service) SendYouTubeAlert()
Click to show internal directories.
Click to hide internal directories.