demojis

package
v0.0.0-...-aa7acec Latest Latest
Warning

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

Go to latest
Published: Apr 17, 2020 License: MPL-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Emojis, DiscordEmojis = makeArray()

Emojis contains a list of emojis DiscordEmojis generate Discordgo emojis with ID always being -2

Functions

func FuzzyEmojis

func FuzzyEmojis(p string) []fuzzy.Match

FuzzyEmojis fuzzy searches the emojis Argument: p == pattern

func GetEmojiFromKey

func GetEmojiFromKey(k string) (string, bool)

GetEmojiFromKey returns "", false if emoji isn't found

func MatchEmoji

func MatchEmoji(m fuzzy.Match) string

MatchEmoji matches a fuzzy search with the emoji

Types

This section is empty.

Jump to

Keyboard shortcuts

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