bot

package
v0.0.0-...-7d0bed4 Latest Latest
Warning

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

Go to latest
Published: Jun 8, 2023 License: BSD-2-Clause Imports: 8 Imported by: 0

Documentation

Overview

* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) Lewis Cook <lcook@FreeBSD.org>

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Run

func Run(config string)

Types

type Handler

type Handler []relay.Hook

type Pulsar

type Pulsar struct {
	Port  string `json:"event_listener_port"`
	Token string `json:"discord_bot_token"`
}

func (*Pulsar) Session

func (p *Pulsar) Session(config string) (*discordgo.Session, *logError)

Directories

Path Synopsis
* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) Lewis Cook <lcook@FreeBSD.org>
* SPDX-License-Identifier: BSD-2-Clause * * Copyright (c) Lewis Cook <lcook@FreeBSD.org>

Jump to

Keyboard shortcuts

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