discord

package
v0.0.0-...-b3a7264 Latest Latest
Warning

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

Go to latest
Published: May 1, 2022 License: GPL-3.0 Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ApiURL   = "https://discord.com/api/v9/"
	AssetURL = "https://cdn.discordapp.com/"
)
View Source
var (
	Flags = map[string]int{
		"STAFF":                    1 << 0,
		"PARTNER":                  1 << 1,
		"HYPESQUAD":                1 << 2,
		"BUG_HUNTER_LEVEL_1":       1 << 3,
		"HYPESQUAD_ONLINE_HOUSE_1": 1 << 6,
		"HYPESQUAD_ONLINE_HOUSE_2": 1 << 7,
		"HYPESQUAD_ONLINE_HOUSE_3": 1 << 8,
		"PREMIUM_EARLY_SUPPORTER":  1 << 9,
		"TEAM_PSEUDO_USER":         1 << 10,
		"BUG_HUNTER_LEVEL_2":       1 << 14,
		"VERIFIED_BOT":             1 << 16,
		"VERIFIED_DEVELOPER":       1 << 17,
		"CERTIFIED_MODERATOR":      1 << 18,
		"BOT_HTTP_INTERACTIONS":    1 << 19,
	}
)

Flags public flag

Functions

func New

func New(a apiUser) bUser

func User

func User(ctx *fiber.Ctx) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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