discord

package
v0.14.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jul 3, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

View Source
const (
	InformationCategory    = "録画-情報"
	LogChannel             = "動作ログ"
	ErrorLogChannel        = "エラーログ"
	UpdateChannel          = "更新情報"
	RecordingChannel       = "録画開始・完了"
	RecordingFailedChannel = "録画失敗"

	ProgramInformationCategory = "録画-番組情報"

	NotifyAndScheduleCategory = "録画-通知・予約"
	AutoSearchChannelName     = "自動検索"

	AutoSearchChannelTopic          = `` /* 136-byte string literal not displayed */
	AutoSearchChannelWelcomeMessage = `**このチャンネルにスレッドを投稿するとEPG更新時ルールに従い自動的に通知または録画されます。**

**投稿形式**
タイトル: 何でも構いません。
本文: 以下の形式で投稿します。指定の:は半角コロンを使ってください。全角半角、大文字小文字は同一視して検索されます。=の前後の空白は無視されます。
` + "```" + `
タイトル = ニュース
チャンネル= NHK
ジャンル=ニュース
` + "```" + `
(正確にはチャンネルというよりサービスの名前です)

**自動検索結果**
上記のルールにマッチする番組情報が追加されたとき、投稿にぶら下がる発言として、タイトル、番組情報発言へのリンクが投稿されます。
(この発言に:red_circle:でリアクションしても録画されません。リンク先の発言に:red_circle:を付けてください。)

**リアクション**
投稿の最初の発言にリアクションしておくと通知または自動録画が行われます。
:eyes: でリアクションしておくと自動検索でマッチした番組情報の投稿時にメンションが付きます。
:red_circle: でリアクションしておくと自動検索でマッチした番組情報の投稿時に録画が予約されます。
`
)
View Source
const (
	RecordingReactionEmoji     = "🔴"
	RecordedReactionEmoji      = "📼"
	EncodedReactionEmoji       = "🗜️"
	OkReactionEmoji            = "🆗"
	NgReactionEmoji            = "🆖"
	NotifyReactionEmoji        = "👀"
	AutoSearchReactionEmoji    = "🔍"
	TranscriptionReactionEmoji = "📝"
)

Variables

This section is empty.

Functions

func BuildMessageLinkURL

func BuildMessageLinkURL(guildID, channelID, messageID string) string

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL