utils

package
v0.0.0-...-9edbf76 Latest Latest
Warning

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

Go to latest
Published: Mar 10, 2021 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

View Source
const (
	DiscordEpoch = 1420070400000
	GuildID      = "813498656992002069"
	RulesID      = "813498656992002071"
	ModmailLogID = "813724684662472725"
	ModmailCatID = "813724683803164714"
)

Variables

This section is empty.

Functions

func CanBan

func CanBan(s *discordgo.Session, guildID string, m *discordgo.Member) bool

func HasPerm

func HasPerm(r *discordgo.Role, p int64) bool

func IsAdmin

func IsAdmin(s *discordgo.Session, guildID string, m *discordgo.Member) bool

func WaitForMessage

func WaitForMessage(s *discordgo.Session) chan *discordgo.MessageCreate

func WaitForUserMessage

func WaitForUserMessage(s *discordgo.Session, userID string) chan *discordgo.MessageCreate

func WaitForUserReact

func WaitForUserReact(s *discordgo.Session, userID string) chan *discordgo.MessageReactionAdd

Types

This section is empty.

Jump to

Keyboard shortcuts

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