1
0
Fork 0
mirror of https://github.com/diamondburned/cchat-discord.git synced 2024-11-22 06:02:59 +00:00
cchat-discord/logo.go

21 lines
431 B
Go

package discord
import (
"context"
"github.com/diamondburned/cchat"
)
const LogoURL = "https://raw.githubusercontent.com/" +
"diamondburned/cchat-discord/himearikawa/discord_logo.png"
// Logo implements cchat.Iconer for the Discord logo.
var Logo cchat.Iconer = logo{}
type logo struct{}
func (logo) Icon(ctx context.Context, iconer cchat.IconContainer) (func(), error) {
iconer.SetIcon(LogoURL)
return func() {}, nil
}