util

package
v0.0.0-...-fc3f415 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2020 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CanBan

func CanBan(u *discordgo.Member, g *discordgo.Guild)

func RoleGerarchyDifference

func RoleGerarchyDifference(u1 *discordgo.Member, u2 *discordgo.Member, g *discordgo.Guild) int

func Throw

func Throw(up Exception)

Types

type Block

type Block struct {
	Try     func()
	Catch   func(Exception)
	Finally func()
}

func (Block) Do

func (tcf Block) Do()

type Exception

type Exception interface{}

Jump to

Keyboard shortcuts

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