utils

package
v0.0.0-...-41e3a0e Latest Latest
Warning

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

Go to latest
Published: Nov 9, 2022 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	GITHUB  = "https://github.com/CorentinGS/UCA-discord-bot"
	VERSION = "v0.1.0"
	GREEN   = 0x00ff00
	RED     = 0xff0000
	BLUE    = 0x0000ff
	ORANGE  = 0xffa500
	PURPLE  = 0x800080
)
View Source
const (
	ErrorNegativeValue = "the value must be positive"
)

Variables

This section is empty.

Functions

func ExistsInArray

func ExistsInArray(arr []string, val string) bool

func HasPermissionsAdmin

func HasPermissionsAdmin(member *discordgo.Member) bool

Types

This section is empty.

Jump to

Keyboard shortcuts

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