utilities

package
v0.0.0-...-35e93be Latest Latest
Warning

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

Go to latest
Published: Aug 17, 2021 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CheckStringForUser

func CheckStringForUser(userString string) (User bool, UserName, Discriminator string, err error)

func DeleteMessageAfterTime

func DeleteMessageAfterTime(session *discordgo.Session, message *discordgo.Message, TimeTillDeletion int)

func GetUserIDFromMention

func GetUserIDFromMention(mentionString string) (userID string)

func NewCaseEmbed

func NewCaseEmbed(Type string, User *discordgo.User, Reason string, Days int) (embed *discordgo.MessageEmbed)

func NewGithubRepositoryEmbed

func NewGithubRepositoryEmbed(Username, AvatarURL string, Arguments []string, RepositoryResponseBody map[string]interface{}) (embed *discordgo.MessageEmbed)

func NewLogMessageEmbed

func NewLogMessageEmbed(message *discordgo.Message, FromChannel *discordgo.Channel) (embed *discordgo.MessageEmbed)

Types

This section is empty.

Jump to

Keyboard shortcuts

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