commands

package
v0.0.0-...-793d9d2 Latest Latest
Warning

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

Go to latest
Published: Jan 18, 2021 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddEmote

func AddEmote(emote emote.Emote)

AddEmote adds an entry to the emotes list

func AddEmoteImage

func AddEmoteImage(gif emote.Gif)

AddEmoteImage adds an image for an emote

func HandleEmote

func HandleEmote(ctx context.Context, s *discordgo.Session, msgParts []string, guildID string, authorID string, channelID string) error

HandleEmote handles running commands

func HandleListEmotes

func HandleListEmotes(ctx context.Context, s *discordgo.Session, msgParts []string, guildID string, authorID string, channelID string) error

HandleListEmotes handles running commands

Types

type Func

type Func func(ctx context.Context, s *discordgo.Session, msgParts []string, guildID string, authorID string, channelID string) error

Func provides a function used to implement a command

Jump to

Keyboard shortcuts

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