Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrClientNotConfigured = fmt.Errorf("Set the environment variables BOTMETRICS_API_KEY and BOTMETRICS_BOT_ID or call NewBotmetricsClient(\"api_key\", \"bot_id\")")
)
Functions ¶
This section is empty.
Types ¶
type BotmetricsClient ¶
func NewBotmetricsClient ¶
func NewBotmetricsClient(args ...string) (*BotmetricsClient, error)
func (*BotmetricsClient) RegisterBot ¶
func (b *BotmetricsClient) RegisterBot(token string, createdAt int64) bool
Click to show internal directories.
Click to hide internal directories.