Files
clawgo/pkg/channels/discord_stub.go
2026-03-10 14:46:34 +08:00

17 lines
354 B
Go

//go:build omit_discord
package channels
import (
"github.com/YspCoder/clawgo/pkg/bus"
"github.com/YspCoder/clawgo/pkg/config"
)
type DiscordChannel struct{ disabledChannel }
const discordCompiled = false
func NewDiscordChannel(cfg config.DiscordConfig, bus *bus.MessageBus) (*DiscordChannel, error) {
return nil, errChannelDisabled("discord")
}