types

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Sep 13, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Command

type Command struct {
	Exec     FCommand
	Name     string
	Args     map[string]reflect.Type
	Category string
}

type DB

type DB struct {
	Mongo *mongo.Database
	SQL   *sql.DB
}

type FCommand

type FCommand func(self *Self, s *discordgo.Session, m *discordgo.MessageCreate, args []string) error

type Self

type Self struct {
	Name       string `json:"name"`
	Bot        *discordgo.Session
	Prefix     string `json:"prefix"`
	Commands   map[string]*Command
	Id         string `json:"id"`
	Dispatcher map[string]interface{}
}

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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