discordgo_plugins

package module
v0.0.0-...-c159462 Latest Latest
Warning

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

Go to latest
Published: Oct 8, 2022 License: BSD-3-Clause Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func CommandOptionParse

CommandOptionParse is meant to quickly convert the passed arguments from a application command into a string map.

func InteractionRespondAndLog

func InteractionRespondAndLog(s *dg.Session, ic *dg.InteractionCreate, resp *dg.InteractionResponse)

InteractionRespondAndLog is a wrapper function for InteractionRespond. It attempts to send the given responce to the user and logs if any errors occures

func InteractionReturnErrorMessage

func InteractionReturnErrorMessage(s *dg.Session, ic *dg.InteractionCreate)

InteractionReturnErrorMessage returns a hidden generic responce to the user. This is meant to be used if a error occured while processing a command.

Types

This section is empty.

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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