db

package
v0.0.0-...-0408bf9 Latest Latest
Warning

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

Go to latest
Published: Jul 31, 2021 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var DB *sqlx.DB

Functions

func Connect

func Connect() error

Types

type GuildSettings

type GuildSettings struct {
	GuildId        string `db:"guild_id"`
	ChannelLock    bool   `db:"channel_lock"`
	ChannelLockId  string `db:"channel_lock_id"`
	TempLock       bool   `db:"temporary_lock"`
	ReasonRequired bool   `db:"require_reason"`
	MinRoleId      string `db:"min_role_id"`
	LogChannel     string `db:"min_role_id"`
}

Jump to

Keyboard shortcuts

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