discord

package
v0.0.0-...-592432c Latest Latest
Warning

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

Go to latest
Published: Sep 6, 2024 License: BSD-3-Clause Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Config

type Config struct {
	Token          string
	Guild          string
	DeleteCommands bool
}

type CreatorChannel

type CreatorChannel struct {
	ID      string `db:"id"`
	GuildID string `db:"guild_id"`
}

type Database

type Database struct {
	// contains filtered or unexported fields
}

func MakeDatabase

func MakeDatabase(pool *pgxpool.Pool) Database

type Discord

type Discord struct {
	// contains filtered or unexported fields
}

func Make

func Make(config Config, db Database) (Discord, error)

func (Discord) Run

func (d Discord) Run(ctx context.Context) error

type Group

type Group struct {
	ID      int64  `db:"id"`
	Name    string `db:"name"`
	GuildID string `db:"guild_id"`
}

type GroupFilter

type GroupFilter struct {
	// contains filtered or unexported fields
}

type GroupParams

type GroupParams struct {
	// contains filtered or unexported fields
}

type TemporaryChannel

type TemporaryChannel struct {
	ID      string `db:"id"`
	GuildID string `db:"guild_id"`
}

Jump to

Keyboard shortcuts

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