guilddb

package
v1.3.1 Latest Latest
Warning

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

Go to latest
Published: Sep 5, 2022 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ChannelID

func ChannelID(guildID int) string

ChannelID returns the discord ChannelID of a guild based on their ID

func GuildID

func GuildID(channelID string) int

GuildId returns the EQ guildID of a guild based on a provided discord channelID, returns 0 if no results

func New

func New(config *config.Config) error

New creates a new guild database

func Set

func Set(guildID int, guildName string)

Set updates or adds an entry for a specified guild id

Types

This section is empty.

Jump to

Keyboard shortcuts

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