bilibili

package
v1.10.0 Latest Latest
Warning

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

Go to latest
Published: Jul 20, 2020 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Au2Card

func Au2Card(MsgInfo *botstruct.MsgInfo, BotConfig *botstruct.BotConfig)

Au2Card : Handle meassage and send music card.

func Bilibili

func Bilibili(MsgInfo *botstruct.MsgInfo, BotConfig *botstruct.BotConfig)

Bilibili : The main function of bilibili

func GetAu

func GetAu(msg string) (au string)

GetAu : Get audio number by regexp.

Types

type Auinfo added in v1.9.0

type Auinfo struct {
	AuNumber   string
	AuStatus   bool
	AuMsg      string
	AuJumpURL  string
	AuCoverURL string
	AuURL      string
	AuTitle    string
	AuDesp     string
	IsTimeOut  bool
}

Auinfo includes some basic info of a Au number.

func GetAuInfo

func GetAuInfo(au string) (info *Auinfo)

GetAuInfo : Get Bilibili Audio info

Jump to

Keyboard shortcuts

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