ivan

package
v1.7.2 Latest Latest
Warning

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

Go to latest
Published: Apr 8, 2024 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FilterIvanBans

func FilterIvanBans(bans []*discordgo.GuildBan, listLength int64) []*discordgo.GuildBan

FilterIvanBans filter out all the ivan bans, and return a new []*discordgo.GuildBan

func FormatList

func FormatList(list []*discordgo.GuildBan) string

FormatList formats an array of GuildBans into a bullet list

func GetAllEmotes

func GetAllEmotes() map[string]string

GetAllEmotes returns a list of all the emotes in a map, as specified in config.json. Of name: fileLocation key value pairs

Types

type Emote

type Emote struct {
	Name         string `json:"name"`
	FileLocation string `json:"fileLocation"`
}

Jump to

Keyboard shortcuts

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