utils

package
v1.2.2 Latest Latest
Warning

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

Go to latest
Published: Mar 8, 2023 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DiruHttp added in v1.2.1

func DiruHttp()

func GetConnectedServerCount

func GetConnectedServerCount(token string) int

func SendTopggData

func SendTopggData(token string, botId string, shards uint, dctoken string)

Types

type Guild

type Guild struct {
	Id          string   `json:"id"`
	Name        string   `json:"name"`
	Icon        string   `json:"icon"`
	Owner       bool     `json:"owner"`
	Permissions string   `json:"permissions"`
	Features    []string `json:"features"`
}

func GetConnectedServers

func GetConnectedServers(token string) []Guild

Jump to

Keyboard shortcuts

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