bot

package
v0.0.0-...-9f27d82 Latest Latest
Warning

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

Go to latest
Published: Mar 31, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Bot

type Bot struct {
	Commands []cmd.Command
	// contains filtered or unexported fields
}

Bot a generic Discord bot.

func NewFAQBot

func NewFAQBot() *Bot

NewFAQBot create a new Celeste FAQ Bot with preloaded commands.

func (*Bot) Close

func (b *Bot) Close() error

Close the Discord session.

func (*Bot) Connect

func (b *Bot) Connect(token string) error

Connect create a Discord session authentified with the given token.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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