helper

package
v0.0.0-...-a139185 Latest Latest
Warning

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

Go to latest
Published: May 25, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Helper

type Helper struct {
	*session.Session

	GuildID discord.GuildID
	DB      *db.DB
}

Helper ...

func New

func New(token string, id discord.GuildID, db *db.DB) (*Helper, error)

New creates a new Helper, adds the required intents and event handlers, and opens the connection.

Jump to

Keyboard shortcuts

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